|
static new string | s_type = "PoleTool" |
|
static string | s_type = "ERROR: set s_type in T:Gadget" |
|
|
enum | GadgetIDs {
Unused = -3
, Undefined = -1
, Pointer = 0
, Tape = 1
,
AngleTool = 2
, LineTool = 3
, LotTool = 4
, Pendulum = 5
,
PoleTool = 6
, Remover = 7
, EqualCircles = 8
, MiddlePoint = 9
} |
| Used to map to a T:Gadget More...
|
|
| Gadget () |
|
void | Init (bool overrite) |
|
void | Awake () |
|
void | Enable () |
|
void | Disable () |
|
void | Update () |
|
void | Hit (RaycastHit[] hit) |
|
void | ResetGadget () |
|
static bool | Equals (Gadget a, Gadget b) |
|
static Dictionary< Type, GadgetIDs > | GadgetTypeToIDs |
|
static readonly IEnumerable< Type > | GadgetTypes = Assembly.GetExecutingAssembly().GetTypes().Where(t => t != typeof(Gadget) && typeof(Gadget).IsAssignableFrom(t)) |
| Collection of Type s of all available Gadgets to choose from. More...
|
|
◆ _ActivateLineDrawing()
override void PoleTool._ActivateLineDrawing |
( |
| ) |
|
|
protectedvirtual |
◆ _Enable()
override void PoleTool._Enable |
( |
| ) |
|
|
protectedvirtual |
◆ _Hit()
override void PoleTool._Hit |
( |
RaycastHit[] |
hit | ) |
|
|
protectedvirtual |
◆ _UpdateLineDrawing()
override void PoleTool._UpdateLineDrawing |
( |
| ) |
|
|
protectedvirtual |
◆ poleHeight
float PoleTool.poleHeight = 1f |
◆ s_type
new string PoleTool.s_type = "PoleTool" |
|
staticprotected |
[ClassName] for JSON de-/serialization. Set in every non-abstract subclass of Gadget. Also add JsonSubtypes.KnownSubType attribute for deserialization to Gadget!
The documentation for this class was generated from the following file:
- D:/Users/marco/Dokuments/OneDrive/FAU/Informatik/!UFrameIT/FrameIT/MaZiFAU/Assets/Scripts/InteractionEngine/Gadgets/PoleTool.cs