Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
FMODUnity.EventManager Class Reference

Classes

class  ActiveBuildTargetListener
 
class  PreprocessScene
 

Static Public Member Functions

static void Startup ()
 
static void ValidateEventReferences (Scene scene)
 
static void CopyToStreamingAssets (BuildTarget buildTarget)
 
static void UpdateBankStubAssets (BuildTarget buildTarget)
 
static EventLinkage GetEventLinkage (EventReference eventReference)
 
static EditorEventRef EventFromPath (string pathOrGuid)
 
static EditorEventRef EventFromString (string path)
 
static EditorEventRef EventFromGUID (FMOD.GUID guid)
 
static EditorParamRef ParamFromPath (string name)
 
static void RemoveBanks (string basePath)
 
static void MoveBanks (string from, string to)
 
static void RemoveEmptyFMODFolders (string basePath)
 

Static Public Attributes

static string CacheAssetFullName = EditorUtils.WritableAssetPath(CacheAssetName)
 

Properties

static DateTime CacheTime [get]
 
static List< EditorEventRefEvents [get]
 
static List< EditorBankRefBanks [get]
 
static List< EditorParamRefParameters [get]
 
static List< EditorBankRefMasterBanks [get]
 
static bool IsLoaded [get]
 
static bool IsValid [get]
 
static bool IsInitialized [get]
 

Static Private Member Functions

static void ClearCache ()
 
static void AffirmEventCache ()
 
static string UpdateCache ()
 
static void ShowEventsRenamedDialog ()
 
static void UpdateCacheBank (EditorBankRef bankRef, ref bool renameOccurred)
 
static void InitializeParamRef (EditorParamRef paramRef, FMOD.Studio.PARAMETER_DESCRIPTION description, Func< int, string > getLabel)
 
static string[] GetParameterLabels (FMOD.Studio.PARAMETER_DESCRIPTION parameterDescription, Func< int, string > getLabel)
 
static EventManager ()
 
static void ValidateEventEmitter (StudioEventEmitter emitter, Scene scene)
 
static void ValidateEventReferenceFields (MonoBehaviour behaviour, Scene scene)
 
static bool ValidateEventReference (ref EventReference eventReference, Component parent, Scene scene, out bool changed)
 
static void EnsureFoldersExist (string filePath, string basePath)
 
static void BuildTargetChanged ()
 
static void OnCacheChange ()
 
static bool CompareLists (List< string > tempBanks, List< string > banks)
 
static bool AssetHasLabel (string assetPath, string label)
 

Static Private Attributes

const string FMODLabel = "FMOD"
 
const string AssetsFolderName = "Assets"
 
const string CacheAssetName = "FMODStudioCache"
 
static EventCache eventCache
 
const string StringBankExtension = "strings.bank"
 
const string BankExtension = "bank"
 
static readonly string UpdaterInstructions
 

Constructor & Destructor Documentation

◆ EventManager()

static FMODUnity.EventManager.EventManager ( )
staticprivate

Member Function Documentation

◆ AffirmEventCache()

static void FMODUnity.EventManager.AffirmEventCache ( )
staticprivate

◆ AssetHasLabel()

static bool FMODUnity.EventManager.AssetHasLabel ( string assetPath,
string label )
staticprivate

◆ BuildTargetChanged()

static void FMODUnity.EventManager.BuildTargetChanged ( )
staticprivate

◆ ClearCache()

static void FMODUnity.EventManager.ClearCache ( )
staticprivate

◆ CompareLists()

static bool FMODUnity.EventManager.CompareLists ( List< string > tempBanks,
List< string > banks )
staticprivate

◆ CopyToStreamingAssets()

static void FMODUnity.EventManager.CopyToStreamingAssets ( BuildTarget buildTarget)
static

◆ EnsureFoldersExist()

static void FMODUnity.EventManager.EnsureFoldersExist ( string filePath,
string basePath )
staticprivate

◆ EventFromGUID()

static EditorEventRef FMODUnity.EventManager.EventFromGUID ( FMOD.GUID guid)
static

◆ EventFromPath()

static EditorEventRef FMODUnity.EventManager.EventFromPath ( string pathOrGuid)
static

◆ EventFromString()

static EditorEventRef FMODUnity.EventManager.EventFromString ( string path)
static

◆ GetEventLinkage()

static EventLinkage FMODUnity.EventManager.GetEventLinkage ( EventReference eventReference)
static

◆ GetParameterLabels()

static string[] FMODUnity.EventManager.GetParameterLabels ( FMOD.Studio.PARAMETER_DESCRIPTION parameterDescription,
Func< int, string > getLabel )
staticprivate

◆ InitializeParamRef()

static void FMODUnity.EventManager.InitializeParamRef ( EditorParamRef paramRef,
FMOD.Studio.PARAMETER_DESCRIPTION description,
Func< int, string > getLabel )
staticprivate

◆ MoveBanks()

static void FMODUnity.EventManager.MoveBanks ( string from,
string to )
static

◆ OnCacheChange()

static void FMODUnity.EventManager.OnCacheChange ( )
staticprivate

◆ ParamFromPath()

static EditorParamRef FMODUnity.EventManager.ParamFromPath ( string name)
static

◆ RemoveBanks()

static void FMODUnity.EventManager.RemoveBanks ( string basePath)
static

◆ RemoveEmptyFMODFolders()

static void FMODUnity.EventManager.RemoveEmptyFMODFolders ( string basePath)
static

◆ ShowEventsRenamedDialog()

static void FMODUnity.EventManager.ShowEventsRenamedDialog ( )
staticprivate

◆ Startup()

static void FMODUnity.EventManager.Startup ( )
static

◆ UpdateBankStubAssets()

static void FMODUnity.EventManager.UpdateBankStubAssets ( BuildTarget buildTarget)
static

◆ UpdateCache()

static string FMODUnity.EventManager.UpdateCache ( )
staticprivate

◆ UpdateCacheBank()

static void FMODUnity.EventManager.UpdateCacheBank ( EditorBankRef bankRef,
ref bool renameOccurred )
staticprivate

◆ ValidateEventEmitter()

static void FMODUnity.EventManager.ValidateEventEmitter ( StudioEventEmitter emitter,
Scene scene )
staticprivate

◆ ValidateEventReference()

static bool FMODUnity.EventManager.ValidateEventReference ( ref EventReference eventReference,
Component parent,
Scene scene,
out bool changed )
staticprivate

◆ ValidateEventReferenceFields()

static void FMODUnity.EventManager.ValidateEventReferenceFields ( MonoBehaviour behaviour,
Scene scene )
staticprivate

◆ ValidateEventReferences()

static void FMODUnity.EventManager.ValidateEventReferences ( Scene scene)
static

Member Data Documentation

◆ AssetsFolderName

const string FMODUnity.EventManager.AssetsFolderName = "Assets"
staticprivate

◆ BankExtension

const string FMODUnity.EventManager.BankExtension = "bank"
staticprivate

◆ CacheAssetFullName

string FMODUnity.EventManager.CacheAssetFullName = EditorUtils.WritableAssetPath(CacheAssetName)
static

◆ CacheAssetName

const string FMODUnity.EventManager.CacheAssetName = "FMODStudioCache"
staticprivate

◆ eventCache

EventCache FMODUnity.EventManager.eventCache
staticprivate

◆ FMODLabel

const string FMODUnity.EventManager.FMODLabel = "FMOD"
staticprivate

◆ StringBankExtension

const string FMODUnity.EventManager.StringBankExtension = "strings.bank"
staticprivate

◆ UpdaterInstructions

readonly string FMODUnity.EventManager.UpdaterInstructions
staticprivate
Initial value:
=
string.Format("Please run {0} to resolve this issue.", EventReferenceUpdater.MenuPath)
Definition EventReferenceUpdater.cs:19
const string MenuPath
Definition EventReferenceUpdater.cs:20

Property Documentation

◆ Banks

List<EditorBankRef> FMODUnity.EventManager.Banks
staticget

◆ CacheTime

DateTime FMODUnity.EventManager.CacheTime
staticget

◆ Events

List<EditorEventRef> FMODUnity.EventManager.Events
staticget

◆ IsInitialized

bool FMODUnity.EventManager.IsInitialized
staticget

◆ IsLoaded

bool FMODUnity.EventManager.IsLoaded
staticget

◆ IsValid

bool FMODUnity.EventManager.IsValid
staticget

◆ MasterBanks

List<EditorBankRef> FMODUnity.EventManager.MasterBanks
staticget

◆ Parameters

List<EditorParamRef> FMODUnity.EventManager.Parameters
staticget

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