Property | Type | Description | |
---|---|---|---|
m_InputOverride |
Method | Description | |
---|---|---|
ActivateModule ( ) : void |
Called when the module is activated. Override this if you want custom code to execute when you activate your module.
|
|
DeactivateModule ( ) : void |
Called when the module is deactivated. Override this if you want custom code to execute when you deactivate your module.
|
|
IsModuleSupported ( ) : bool |
Check to see if the module is supported. Override this if you have a platfrom specific module (eg. TouchInputModule that you do not want to activate on standalone.
|
|
IsPointerOverGameObject ( int pointerId ) : bool |
Is the pointer with the given ID over an EventSystem object?
|
|
Process ( ) : void |
Process the current tick for the module.
|
|
ShouldActivateModule ( ) : bool |
Should be activated.
|
|
UpdateModule ( ) : void |
Update the internal state of the Module.
|
Method | Description | |
---|---|---|
BaseInputModule ( ) : System | ||
DetermineMoveDirection ( float x, float y ) : MoveDirection |
Given an input movement, determine the best MoveDirection.
|
|
DetermineMoveDirection ( float x, float y, float deadZone ) : MoveDirection |
Given an input movement, determine the best MoveDirection.
|
|
FindCommonRoot ( |
Given 2 GameObjects, return a common root GameObject (or null).
|
|
FindFirstRaycast ( List |
||
GetAxisEventData ( float x, float y, float moveDeadZone ) : |
Given some input data generate an AxisEventData that can be used by the event system.
|
|
GetBaseEventData ( ) : |
Generate a BaseEventData that can be used by the EventSystem.
|
|
HandlePointerExitAndEnter ( |
Handle sending enter and exit events when a new enter targer is found.
|
|
OnDisable ( ) : void |
See MonoBehaviour.OnDisable.
|
|
OnEnable ( ) : void |
See MonoBehaviour.OnEnable.
|
protected static DetermineMoveDirection ( float x, float y ) : MoveDirection | ||
x | float | X movement. |
y | float | Y movement. |
return | MoveDirection |
protected static DetermineMoveDirection ( float x, float y, float deadZone ) : MoveDirection | ||
x | float | X movement. |
y | float | Y movement. |
deadZone | float | Dead zone. |
return | MoveDirection |
protected static FindCommonRoot ( |
||
g1 | ||
g2 | ||
return |
protected static FindFirstRaycast ( List |
||
candidates | List |
|
return |
protected GetAxisEventData ( float x, float y, float moveDeadZone ) : |
||
x | float | X movement. |
y | float | Y movement. |
moveDeadZone | float | Dead Zone. |
return |
protected GetBaseEventData ( ) : |
||
return |
protected HandlePointerExitAndEnter ( |
||
currentPointerData | ||
newEnterTarget | ||
return | void |
public IsPointerOverGameObject ( int pointerId ) : bool | ||
pointerId | int | Pointer ID. |
return | bool |