• Manual
  • API Summary
  • About
Show / Hide Table of Contents
  • DOTS_TPC
    • DotsHelper
    • FollowMode
    • FreeLookMode
    • FreeLookMouseHideMode
    • MouseCursorHelper
    • StationaryModeType
    • TargetablesComparer
    • TargetableWithDistance
    • TPC_AllHitsCollector
    • TPC_CameraControllerJob
    • TPC_CameraControllerJob.DistanceComparer
    • TPC_CameraTarget
    • TPC_ControllerOptions
    • TPC_ControllerState
    • TPC_DebugOptions
    • TPC_FadeMaterial
    • TPC_FadeSystem
    • TPC_FadeSystem.FadeJob
    • TPC_FadeSystem.FadeJob.InternalCompiler
    • TPC_FadeSystem.FadeJob.InternalCompilerQueryAndHandleData
    • TPC_FadeSystem.FadeJob.InternalCompilerQueryAndHandleData.TypeHandle
    • TPC_FollowJob
    • TPC_FollowOptions
    • TPC_FollowState
    • TPC_FreeLookJob
    • TPC_FreeLookOptions
    • TPC_GatherInputsSystem
    • TPC_HitsCollector
    • TPC_IgnoreTag
    • TPC_Input
    • TPC_Input_FreeLook
    • TPC_Input_LockOn
    • TPC_Input_Shoulder
    • TPC_Input.CameraMovementActions
    • TPC_Input.ICameraMovementActions
    • TPC_LockOnCollector
    • TPC_LockOnJob
    • TPC_LockOnOptions
    • TPC_LockOnState
    • TPC_MainCamera
    • TPC_MainSystem
    • TPC_RaycasHitsCollector
    • TPC_ShoulderJob
    • TPC_ShoulderOptions
    • TPC_SmoothedTargetPosition
    • TPC_SyncMainCameraSystem
    • TPC_TargetableOffset
    • TPC_TargetableTag

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
In This Article
Back to top Generated by DocFX