CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
CriAtomEditorUtilities.PreviewPlayer Class Reference

Audio player dedicated to previewing in the editor More...

Inheritance diagram for CriAtomEditorUtilities.PreviewPlayer:
CriAtomEditor.PreviewPlayer

Public Member Functions

 PreviewPlayer ()
 Initialization of the player
 
override void Dispose ()
 Destroying the player
 
void Play (CriAtomExAcb acb, string cueName)
 Set the audio data and play More...
 
void Stop (bool withoutRelease=false)
 Stops the playback More...
 
void ResetPlayer ()
 Resets the parameters of the player
 

Detailed Description

Audio player dedicated to previewing in the editor

Description:
This class is used to preview the playback of ADX audio in the Edit mode.
The loading of the relevant ACB data must be managed externally.

Member Function Documentation

void Play ( CriAtomExAcb  acb,
string  cueName 
)
inline

Set the audio data and play

Parameters
acbACB data
cueNameCue name
Description:
Specify the ACB data and Cue name and then play.
void Stop ( bool  withoutRelease = false)
inline

Stops the playback

Parameters
withoutReleaseWhether to stop without release time
Description:
Stops all audio playback.

The documentation for this class was generated from the following file: