FrameIT
Pointer Class Reference
Inheritance diagram for Pointer:
Gadget

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 ()
 

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 ()
 

Member Function Documentation

◆ Awake()

new void Pointer.Awake ( )
private

◆ OnHit()

override void Pointer.OnHit ( RaycastHit  hit)
virtual

Called when CommunicationEvents.TriggerEvent is invoked, a.k.a. when Player clicks in GameWorld.

Parameters
hitthe position where it was clicked

Reimplemented from Gadget.


The documentation for this class was generated from the following file: