Class AudioAffordanceThemeData
Affordance state theme data structure for for Audio Clip affordances.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.Theme.Audio
Syntax
[Serializable]
public sealed class AudioAffordanceThemeData
Fields
stateEntered
Audio clip to play when the state is entered.
Declaration
public AudioClip stateEntered
Field Value
Type | Description |
---|---|
AudioClip |
stateExited
Audio clip to play when the state is exited.
Declaration
public AudioClip stateExited
Field Value
Type | Description |
---|---|
AudioClip |
stateName
Name of the affordance state the theme data is for. This value is optional and does not serve a functional purpose.
Declaration
public string stateName
Field Value
Type | Description |
---|---|
String |