Click or drag to resize

UnityXRGenericInputModule Methods

The UnityXRGenericInputModule type exposes the following members.

Methods
  NameDescription
Public methodCustomHandStateToggle
When true the following will happen: - If in the default (or other exitable) hand state, then the first available custom hand state will be shown. - If already in a custom hand state, then the next available custom hand state will be shown. - If no further custom hand states are available, then the previous built in state will be returned to.
(Overrides InputModuleCustomHandStateToggle.)
Public methodHandReleaseToolPickup
Indicates whether input on this controller has caused a grabbing state for ToolPickup classes to be exited on the associated hand
(Overrides InputModuleHandReleaseToolPickup.)
Protected methodIsAxisGreaterThan
Protected methodIsAxisLessThan
Protected methodIsButtonPressed
Protected methodIsTouchpadPressed
Public methodSelectionToolDisable
Indicates whether the "Collaborate" selection tool should be hidden on the hand associated with this controller
(Overrides InputModule.SelectionToolDisable.)
Public methodSelectionToolEnable
Indicates whether the "Collaborate" selection tool should be displayed on the hand associated with this controller
(Overrides InputModule.SelectionToolEnable.)
Public methodSelectionToolOrbAmount
Indicates the amount the selection tool orb should change in size this frame based on controller input
(Overrides InputModule.SelectionToolOrbAmount.)
Public methodTeleportCancel
Indicates whether controller input has caused the teleport seek state to be cancelled
(Overrides InputModuleTeleportCancel.)
Public methodTeleportChoose
Indicates whether controller input has caused a teleport target to be chosen
(Overrides InputModuleTeleportChoose.)
Public methodTeleportSeek
Indicates whether controller input has caused the teleport seek state to be entered
(Overrides InputModuleTeleportSeek.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also