Where are all event GUIDs stored?


(Caio Rosisca) #1

I’m working on a project made with Unity and I would like to call all my events from code using the GUID value, so I don’t have problems it the path changes later on.
For that I want to write a class with constants relating event names to their GUIds.
So I need to know where all events are stored under the FMOD project folder to be able to read the files and write the class automatically.


(Cameron Baron) #2

The GUIDs we store are passed from FMOD Studio into the banks, in the EventManager.cs you can see where get the event information out of the banks in UpdateCacheBank.

The eventDesc has a getID function that returns it’s GUID, you could modify the integration to store the GUIDs as the events are set or get the ID’s from event descriptions in your own class.