Class AxisInput
Class for handling automated input configuration
Inheritance
object
AxisInput
Namespace: Axis
Assembly: cs.temp.dll.dll
public sealed class AxisInput : AxisMonoBehaviour
Fields
[read-only] Reference for ActionAssetDefault
Declaration
public InputActionAsset ActionAssetDefault
Field Value
Type |
Description |
InputActionAsset |
|
Declaration
public bool EnableGamepad
Field Value
Declaration
public bool EnableKeyboard
Field Value
Declaration
public bool EnableTouchGamepad
Field Value
Declaration
public bool EnableTouchGestures
Field Value
Player number controlled by the first gamepad connected, the next gamepads connected will be associated +1 in order
Declaration
public ControllerPlayerNumber Gamepad1
Field Value
Type |
Description |
ControllerPlayerNumber |
|
Singleton for main object handling
Declaration
public static AxisInput Global
Field Value
Declaration
public static List<AxisWindowUI> InputOverlays
Field Value
Type |
Description |
System.Collections.Generic.List<T><AxisWindowUI> |
|
Player number controlled by keyboard input
Declaration
public ControllerPlayerNumber Keyboard
Field Value
Type |
Description |
ControllerPlayerNumber |
|
Player number controlled by touchscreen gamepad
Declaration
public ControllerPlayerNumber TouchGamepad
Field Value
Type |
Description |
ControllerPlayerNumber |
|
[read-only] Prefab for instantiating touchscreen gamepad canvas
Declaration
public UnityEngine.Canvas TouchGamepadPrefab
Field Value
Type |
Description |
UnityEngine.Canvas |
|
Properties
Declaration
public Vector2 MouseScreenPoint { get; set; }
Property Value
Declaration
public int numActiveFingers { get; }
Property Value
Methods
Declaration
public Vector2 GetTouchPointerPosition(int id)
Parameters
Type |
Name |
Description |
int |
id |
|
Returns
Declaration
public void SetTouchPointerOnScreen(int id, bool value)
Parameters
Type |
Name |
Description |
int |
id |
|
bool |
value |
|