AllowControllerInput Class |
Namespace: ImmerseSDK.UI
[UnityEngine.RequireComponent(typeof(Canvas))] public class AllowControllerInput : LoggingBehaviour
The AllowControllerInput type exposes the following members.
Name | Description | |
---|---|---|
AllowControllerInput | ||
AllowControllerInput | Initializes a new instance of the AllowControllerInput class |
Name | Description | |
---|---|---|
Distance |
distance (in meters) at which to enable controller input
| |
IsDistanceCheckingEnabled |
Set this to true if you want the input module to automatically be enabled when a controller comes within the specified distance.
If set to false, then you have to enable input yourself at the correct times.
| |
IsInputEnabled |
Indicates if Input has been enabled or not
|
Name | Description | |
---|---|---|
Awake |
Unity Component Method
| |
EnableDistanceChecking |
Enable or disable distance checking
| |
EnableInput |
Enable/Disable input for this canvas
| |
OnDisable |
Unity Component Method
| |
OnDrawGizmosSelected |
Unity Component Method
| |
OnEnable |
Unity Component Method
| |
Reset |
Unity Component Method
| |
Start |
Unity Component Method
|
Name | Description | |
---|---|---|
_distanceInMeters |
distance (in meters) at which to enable controller input
| |
_isDistanceCheckingEnabled |
Set this to true if you want the input module to automatically be activated when a controller comes within the specified distance.
If set to false, then you have to activate input yourself at the correct times.
| |
DefaultDistance |
Default distance (in meters) at which to enable controller input
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |