C# Class UnityEngine.EventSystems.StandaloneInputModule

Inheritance: PointerInputModule
Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description
GetRawMoveVector System.Vector2
ProcessTouchEvents bool

Public Methods

Method Description
ActivateModule ( ) : void

See BaseInputModule.

DeactivateModule ( ) : void

See BaseInputModule.

IsModuleSupported ( ) : bool

See BaseInputModule.

Process ( ) : void

See BaseInputModule.

ShouldActivateModule ( ) : bool

See BaseInputModule.

UpdateModule ( ) : void

See BaseInputModule.

Protected Methods

Method Description
ForceAutoSelect ( ) : bool
ProcessMouseEvent ( ) : void

Iterate through all the different mouse events.

ProcessMouseEvent ( int id ) : void

Iterate through all the different mouse events.

ProcessMousePress ( PointerInputModule data ) : void
ProcessTouchPress ( PointerEventData pointerEvent, bool pressed, bool released ) : void

How should the touch press be processed.

SendMoveEventToSelectedObject ( ) : bool

Calculate and send a move event to the current selected object.

SendSubmitEventToSelectedObject ( ) : bool

Calculate and send a submit event to the current selected object.

SendUpdateEventToSelectedObject ( ) : bool

Send a update event to the currently selected object.

StandaloneInputModule ( ) : System

Private Methods

Method Description
GetRawMoveVector ( ) : System.Vector2
ProcessTouchEvents ( ) : bool

Method Details

ActivateModule() public method

See BaseInputModule.

public ActivateModule ( ) : void
return void

DeactivateModule() public method

See BaseInputModule.

public DeactivateModule ( ) : void
return void

ForceAutoSelect() protected method

protected ForceAutoSelect ( ) : bool
return bool

IsModuleSupported() public method

See BaseInputModule.

public IsModuleSupported ( ) : bool
return bool

Process() public method

See BaseInputModule.

public Process ( ) : void
return void

ProcessMouseEvent() protected method

Iterate through all the different mouse events.

protected ProcessMouseEvent ( ) : void
return void

ProcessMouseEvent() protected method

Iterate through all the different mouse events.

protected ProcessMouseEvent ( int id ) : void
id int The mouse pointer Event data id to get.
return void

ProcessMousePress() protected method

protected ProcessMousePress ( PointerInputModule data ) : void
data PointerInputModule
return void

ProcessTouchPress() protected method

How should the touch press be processed.

protected ProcessTouchPress ( PointerEventData pointerEvent, bool pressed, bool released ) : void
pointerEvent PointerEventData The data to be passed to the final object.
pressed bool If the touch was pressed this frame.
released bool If the touch was released this frame.
return void

SendMoveEventToSelectedObject() protected method

Calculate and send a move event to the current selected object.

protected SendMoveEventToSelectedObject ( ) : bool
return bool

SendSubmitEventToSelectedObject() protected method

Calculate and send a submit event to the current selected object.

protected SendSubmitEventToSelectedObject ( ) : bool
return bool

SendUpdateEventToSelectedObject() protected method

Send a update event to the currently selected object.

protected SendUpdateEventToSelectedObject ( ) : bool
return bool

ShouldActivateModule() public method

See BaseInputModule.

public ShouldActivateModule ( ) : bool
return bool

StandaloneInputModule() protected method

protected StandaloneInputModule ( ) : System
return System

UpdateModule() public method

See BaseInputModule.

public UpdateModule ( ) : void
return void