Click or drag to resize

AllowControllerInput Class

If this component is on a unity ui element, it's parent canvas will ignore input raycasts
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.UIAllowControllerInput

Namespace:  ImmerseSDK.UI
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
[UnityEngine.RequireComponent(typeof(Canvas))]
public class AllowControllerInput : LoggingBehaviour

The AllowControllerInput type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberAllowControllerInput
Public methodAllowControllerInput
Initializes a new instance of the AllowControllerInput class
Top
Properties
  NameDescription
Public propertyDistance
Distance (in meters) at which to enable controller input
Public propertyEnableDuringPlaybackSessions
Indicates whether session reviewer VR users can interact with the attached canvas during a playback session. If any input on this canvas results in a network-synchronised state change, then it is strongly advised that you leave this set to false.
Public propertyIsInputEnabled
Indicates if Input has been enabled or not
Public propertyIsOverrideForInput
Make sure this dialogue is the only one allowed for input
Top
Methods
Fields
  NameDescription
Private field_canvasInteractionScaleAmount
Scale when menu is being interacted with
Private field_distanceInMeters
Distance (in meters) at which to enable controller input
Private field_dotOnlyMode
Use dot rather than a laser with a dot
Private field_enableDuringPlaybackSessions
Indicates whether session reviewer VR users can interact with this canvas during a playback session. If user input on this canvas can modify any synchronised state, then it is strongly advised that this is set to false, to avoid breaking the playback of a recording.
Private field_interactionTrigger
Public fieldStatic memberDefaultDistance
Default distance (in meters) at which to enable controller input
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