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

Class for the editor-only features of CRI Atom More...

Classes

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

Static Public Member Functions

static bool InitializeLibrary ()
 Initialize the CRI Atom library in the editor More...
 
static CriAtomExAcb LoadAcbFile (CriFsBinder binder, string acbPath, string awbPath)
 ACB loading method for audio preview in the editor More...
 

Detailed Description

Class for the editor-only features of CRI Atom

Description:
Class that contains the editor-specific functions of CRI Atom.
Note:
When using this class with the Assembly Definition version plug-in,
it is necessary to reference the following assembly definitions:
  • CriMw.CriWare.Editor
  • CriMw.CriWare.Runtime

Member Function Documentation

static bool InitializeLibrary ( )
inlinestatic

Initialize the CRI Atom library in the editor

Returns
Whether the initialization process was executed
Description:
This method is used to initialize the CRI Atom library dedicated to the Edit mode.
The Atom library will be initialized according to the Atom editor settings in the project settings.
Depending on the project settings, it is also possible to initialize using the settings of the CriWareInitializer component in the currently loaded scene.
static CriAtomExAcb LoadAcbFile ( CriFsBinder  binder,
string  acbPath,
string  awbPath 
)
inlinestatic

ACB loading method for audio preview in the editor

Returns
Instance of the ACB data loaded
Description:
This is a method to load ACB files which is limited to Edit mode only.
It is used for preview playback in the AtomBrowser, the CriAtomSource inspector, etc.
Use this method when loading ACB data in a Unity editor extension.

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