docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AudioAffordanceThemeData

    Affordance state theme data structure for for Audio Clip affordances.

    Inheritance
    object
    AudioAffordanceThemeData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Interaction.Toolkit.AffordanceSystem.Theme.Audio
    Assembly: Unity.XR.Interaction.Toolkit.dll
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)