Click or drag to resize

ExampleCustomHandMenu Class

This example shows how to create commands to put on the hand menu
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDK.ExamplesExampleCustomHandMenu

Namespace:  ImmerseSDK.Examples
Assembly:  ImmerseSDK.NotInDll (in ImmerseSDK.NotInDll.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public class ExampleCustomHandMenu : UnityEngine.MonoBehaviour

The ExampleCustomHandMenu type exposes the following members.

Constructors
  NameDescription
Public methodExampleCustomHandMenu
Initializes a new instance of the ExampleCustomHandMenu class
Top
Methods
Fields
  NameDescription
Private field_blueSphere
A blue sphere that will be toggled
Private field_blueSphereIcon
The blue sphere's icon
Private field_greenSphere
A green sphere that will be toggled
Private field_greenSphereIcon
The green sphere's icon
Private field_redCube
A red cube that will be toggled
Private field_redCubeIcon
The red cube's icon
Private field_teleportIcon
The teleport icon
Private field_teleportLocations
The locations that each teleport button will teleport the user to
Private field_topShelfIcon
The top shelf icon
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