Method GetActiveController
GetActiveController()
Get the active controller in current frame.
Declaration
public static ControllerType GetActiveController()
Returns
Type | Description |
---|---|
ControllerType | The ControllerType of active controller |
Remarks
If any button of one controller is pressed or touched during the frame, then this controller will be marked as active.
If either left or right controller are marked as active during the frame, and both controllers are connect, then the Controller will be marked as active