프로퍼티 | 타입 | 설명 | |
---|---|---|---|
m_InputOverride |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | MoveDirection |
protected static DetermineMoveDirection ( float x, float y, float deadZone ) : MoveDirection | ||
x | float | X movement. |
y | float | Y movement. |
deadZone | float | Dead zone. |
리턴 | MoveDirection |
protected static FindCommonRoot ( |
||
g1 | ||
g2 | ||
리턴 |
protected static FindFirstRaycast ( List |
||
candidates | List |
|
리턴 |
protected GetAxisEventData ( float x, float y, float moveDeadZone ) : |
||
x | float | X movement. |
y | float | Y movement. |
moveDeadZone | float | Dead Zone. |
리턴 |
protected HandlePointerExitAndEnter ( |
||
currentPointerData | ||
newEnterTarget | ||
리턴 | void |
public IsPointerOverGameObject ( int pointerId ) : bool | ||
pointerId | int | Pointer ID. |
리턴 | bool |