FrameIT
|
Additional Inherited Members | |
![]() | |
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) |
![]() | |
int | Rank = int.MinValue |
Position in tool belt. More... | |
string | UiName = null |
Tool Name More... | |
float | MaxRange = float.NegativeInfinity |
Maximum range for this Tool. For consistency use GadgetDistances in GlobalBehaviour. More... | |
float | MaxHeight = float.NegativeInfinity |
int | ButtonIndx = -1 |
Which sprite to use More... | |
int | MaterialIndx = -1 |
LayerMask | LayerHitMask = -1 |
Layers to ignore for this gadget by default. More... | |
LayerMask | SecondaryLayerMask = -1 |
List< string > | Workflow = new() |
Keeps track of selected Fact.Ids the Gadget used to produce a single Fact. More... | |
![]() | |
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... | |
![]() | |
virtual void | _Awake () |
virtual void | _Enable () |
virtual void | _Disable () |
virtual void | _Update () |
virtual void | _Hit (RaycastHit[] hit) |
Called when CommunicationEvents.TriggerEvent is invoked, a.k.a. when Player clicks in GameWorld. More... | |
void | ActivateLineDrawing () |
void | DeactivateLineDrawing () |
void | UpdateLineDrawing () |
virtual void | _ActivateLineDrawing () |
virtual void | _DeactivateLineDrawing () |
virtual void | _UpdateLineDrawing () |
Vector3 | GetPosition (int i) |
void | SetPosition (int i, Vector3 v) |
void | SetPositions (Vector3[] v) |
virtual void | _ResetGadget () |
virtual void | _Update_Range () |
![]() | |
static string | s_type = "ERROR: set s_type in T:Gadget" |