Class TPC_Input
Inheritance
Object
TPC_Input
Implements
IInputActionCollection2
IInputActionCollection
IEnumerable<InputAction>
IEnumerable
IDisposable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: DOTS_TPC
Assembly: DOTS-TPC.dll
Syntax
public class TPC_Input : IInputActionCollection2, IInputActionCollection, IEnumerable<InputAction>, IEnumerable, IDisposable
Constructors
TPC_Input()
Declaration
public TPC_Input()
Properties
asset
Declaration
public InputActionAsset asset { get; }
Property Value
Type | Description |
---|---|
InputActionAsset |
bindingMask
Declaration
public InputBinding? bindingMask { get; set; }
Property Value
Type | Description |
---|---|
Nullable<InputBinding> |
bindings
Declaration
public IEnumerable<InputBinding> bindings { get; }
Property Value
Type | Description |
---|---|
IEnumerable<InputBinding> |
CameraMovement
Declaration
public TPC_Input.CameraMovementActions CameraMovement { get; }
Property Value
Type | Description |
---|---|
TPC_Input.CameraMovementActions |
controlSchemes
Declaration
public ReadOnlyArray<InputControlScheme> controlSchemes { get; }
Property Value
Type | Description |
---|---|
ReadOnlyArray<InputControlScheme> |
devices
Declaration
public ReadOnlyArray<InputDevice>? devices { get; set; }
Property Value
Type | Description |
---|---|
Nullable<ReadOnlyArray<InputDevice>> |
GamepadScheme
Declaration
public InputControlScheme GamepadScheme { get; }
Property Value
Type | Description |
---|---|
InputControlScheme |
KeyboardMouseScheme
Declaration
public InputControlScheme KeyboardMouseScheme { get; }
Property Value
Type | Description |
---|---|
InputControlScheme |
Methods
Contains(InputAction)
Declaration
public bool Contains(InputAction action)
Parameters
Type | Name | Description |
---|---|---|
InputAction | action |
Returns
Type | Description |
---|---|
Boolean |
Disable()
Declaration
public void Disable()
Dispose()
Declaration
public void Dispose()
Enable()
Declaration
public void Enable()
FindAction(String, Boolean)
Declaration
public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false)
Parameters
Type | Name | Description |
---|---|---|
String | actionNameOrId | |
Boolean | throwIfNotFound |
Returns
Type | Description |
---|---|
InputAction |
FindBinding(InputBinding, out InputAction)
Declaration
public int FindBinding(InputBinding bindingMask, out InputAction action)
Parameters
Type | Name | Description |
---|---|---|
InputBinding | bindingMask | |
InputAction | action |
Returns
Type | Description |
---|---|
Int32 |
GetEnumerator()
Declaration
public IEnumerator<InputAction> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<InputAction> |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator |
Implements
UnityEngine.InputSystem.IInputActionCollection2
UnityEngine.InputSystem.IInputActionCollection
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IDisposable