Click or drag to resize

ControllerWatch Class

Logic for the button on the watch
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.ControllersControllerWatch

Namespace:  ImmerseSDK.Controllers
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public class ControllerWatch : LoggingBehaviour

The ControllerWatch type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberControllerWatch
Public methodControllerWatch
Initializes a new instance of the ControllerWatch class
Top
Properties
  NameDescription
Public propertyIsTryingToShowMenu
True if we are trying to show the menu
Top
Methods
  NameDescription
Protected methodAwake
Unity Component Method
Protected methodOnDisable
Unity Component Method
Protected methodOnEnable
Unity Component Method
Public methodStartShowingMenu
Try to show the menu. We have a timer to wait a period of time before actually showing the menu.
Public methodStopTryingToShowMenu
Stop trying to show the menu
Public methodUpdateUI
Update the watch UI
Protected methodVibrate
Make the controller belonging to the specified hand vibrate
Top
Fields
  NameDescription
Private field_defaultNotificationClip
Private field_defaultWaitTimeProgressClip
Private field_menuDisabled
Private field_menuEnabled
Private field_notificationLightMaterial
Private field_notificationLightRenderer
Private field_progressImage
Private field_sphereToShowWhenPressingButton
Private field_watchUIHook
Public fieldStatic memberDefaultCancelWaitTimeInSeconds
Default value for CancelWaitTimeInSeconds
Public fieldStatic memberDefaultHasNoNotificationsColor
Default value for HasNoNotificationsColor
Public fieldStatic memberDefaultHasNotificationsColor
Default value for HasNotificationsColor
Public fieldStatic memberDefaultNotificationBlinkTimeInSeconds
Default value for NotificationBlinkTimeInSeconds
Public fieldStatic memberDefaultNumberOfTimesToBlinkOnNewNotification
Default number of times to blink when a new notification is received
Public fieldStatic memberDefaultPlayNotificationSound
Default value for PlayNotificationSound
Public fieldStatic memberDefaultPlayWaitTimeProgressSound
Default value for PlayWaitTimeProgressSound
Public fieldStatic memberDefaultShowWaitTimeInSeconds
Default value for ShowWaitTimeInSeconds
Public fieldStatic memberDefaultSphereDisplayTimeInSeconds
Default display time for the sphere
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