SF Tool Documentation
Search Results for

    Show / Hide Table of Contents

    Struct VolumeChangeEvent

    Namespace: SF.Events
    Assembly: cs.temp.dll.dll
    Syntax
    public struct VolumeChangeEvent

    Constructors

    VolumeChangeEvent(VolumeChangeEventTypes, Single, String)

    Declaration
    public VolumeChangeEvent(VolumeChangeEventTypes eventType, float volume = 1F, string audioChannelName = "Master")
    Parameters
    Type Name Description
    VolumeChangeEventTypes eventType
    System.Single volume
    System.String audioChannelName

    Fields

    AudioChannelName

    Declaration
    public string AudioChannelName
    Field Value
    Type Description
    System.String

    EventType

    Declaration
    public VolumeChangeEventTypes EventType
    Field Value
    Type Description
    VolumeChangeEventTypes

    Volume

    Declaration
    public float Volume
    Field Value
    Type Description
    System.Single

    Methods

    Trigger(VolumeChangeEventTypes, Single)

    Declaration
    public static void Trigger(VolumeChangeEventTypes eventType, float volume)
    Parameters
    Type Name Description
    VolumeChangeEventTypes eventType
    System.Single volume

    Trigger(VolumeChangeEventTypes, Single, String)

    Declaration
    public static void Trigger(VolumeChangeEventTypes eventType, float volume, string audioChannelName)
    Parameters
    Type Name Description
    VolumeChangeEventTypes eventType
    System.Single volume
    System.String audioChannelName
    In This Article
    Back to top Generated by DocFX