Click or drag to resize

OnEnabledShowDialogBase Class

When enabled, it displays a dialog with the settings specified
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDK.Interaction.ReactionsOnEnabledShowDialogBase
            ImmerseSDK.Interaction.ReactionsOnEnabledShowDoubleColumnDialog
            ImmerseSDK.Interaction.ReactionsOnEnabledShowSingleColumnDialog

Namespace:  ImmerseSDK.Interaction.Reactions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
[HelpURLAttribute("https://immerse.readme.io/")]
public abstract class OnEnabledShowDialogBase : UnityEngine.MonoBehaviour

The OnEnabledShowDialogBase type exposes the following members.

Constructors
  NameDescription
Protected methodOnEnabledShowDialogBase
Initializes a new instance of the OnEnabledShowDialogBase class
Top
Properties
  NameDescription
Protected propertyDurationInSeconds
Default duration to display the dialog
Protected propertyPriority
Default priority
Protected propertyShouldTrackCamera
If Enabled, the dialog will always face the camera and it's lookat vector will be updated each frame
Protected propertyShowInVrOnly
Default showInVrOnly setting
Top
Methods
  NameDescription
Protected methodGetDialogData
Protected methodOnDisable
Unity component method
Protected methodOnEnable
Unity component method
Top
Fields
  NameDescription
Private field_disableObjectWhenDialogClosed
Disabled the gameObject this script is on when the dialog is closed
Private field_durationInSeconds
Message duration in seconds. Specify 0 for displaying the message indefinitely
Private field_onCloseEnableObjects
List of objects to enable when this dialog is closed
Private field_priority
The priority of this dialog. The higher priority dialogs will be shown first (instead of lower priority dialogs)
Private field_shouldTrackCamera
If Enabled, the dialog will always face the camera and it's lookat vector will be updated each frame
Private field_showInVrOnly
If set to True, this dialog will be displayed only to vr users. Web users will not see it. If set to False, Web users will also see the dialog.
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