|
FrameIT
|
Public Member Functions | |
| override void | OnHit (RaycastHit hit) |
| Called when CommunicationEvents.TriggerEvent is invoked, a.k.a. when Player clicks in GameWorld. More... | |
Private Member Functions | |
| new void | Awake () |
| new void | OnEnable () |
Additional Inherited Members | |
Public Attributes inherited from Gadget | |
| int | id = -1 |
| Position in tool belt. More... | |
| string | UiName = "Name Not Set" |
| Tool Name More... | |
| float | MaxRange |
| Maximum range for this Tool. For consistency use GadgetDistances in GlobalBehaviour. More... | |
| Sprite | Sprite |
| Which sprite to use More... | |
| LayerMask | ignoreLayerMask |
| Layers to ignore for thid gadget by default. More... | |
| WorldCursor | Cursor |
| Which cursor to use More... | |
Protected Member Functions inherited from Gadget | |
| void | Awake () |
| void | OnEnable () |
|
private |
|
private |
|
virtual |
Called when CommunicationEvents.TriggerEvent is invoked, a.k.a. when Player clicks in GameWorld.
| hit | the position where it was clicked |
Reimplemented from Gadget.