Modifica

Condividi tramite


InteractionState Class

Definition

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

Constructors

InteractionState(String)

Constructor for an Interaction State.

Properties

Active

Whether or not the state is currently active.

EventConfiguration

The event configuration for this state.

InteractionType

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.

Applies to