InteractionState Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The container that represents a single Interaction State. This class is utilized by the BaseInteractiveElement MonoBehaviour.
public ref class InteractionState
[System.Serializable]
public class InteractionState
[<System.Serializable>]
type InteractionState = class
Public Class InteractionState
- Inheritance
-
InteractionState
- Attributes
Interaction |
Constructor for an Interaction State. |
Active |
Whether or not the state is currently active. |
Event |
The event configuration for this state. |
Interaction |
The type of interaction (Near, Far, Both, None) this state is associated with. |
Name |
The name of the state. |
Value |
The value of the state. The value will be 0 if the state is off, 1 if the state is on. |
Produkt | Wersje |
---|---|
MRTK2 Unity 2019 | 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.6.0, 2.7.0, 2.8.0 |