eDriven Framework API
PlaySound Method (tokenId, options)
Namespaces ► eDriven.Audio ► AudioPlayer ► PlaySound(String, array<AudioOption>[]()[][])
eDriven Framework API
Searches the token with the specified ID attached to the same object as this script Plays it with an audio source attached to the same object as this script
Declaration Syntax

C# | Visual Basic | Visual C++

    public void PlaySound(
    	string tokenId,
    	params AudioOption[] options
    )

    Public Sub PlaySound ( _
    	tokenId As String, _
    	ParamArray options As AudioOption() _
    )

    public:
    void PlaySound(
    	String^ tokenId,
    	... array<AudioOption^>^ options
    )

Parameters

tokenId (String)

options (array<AudioOption>[]()[][])

Assembly: eDriven.Audio (Module: eDriven.Audio) Version: 2.0.1.0 (2.0.1.0)