Пример #1
0
        public static void PlayOneShot(string eventPath, Action <FmodEvent> init)
        {
            var ev = new FmodEvent(eventPath);

            init(ev);
            ev.Start().Release();
        }
Пример #2
0
 private void Awake()
 {
     Events = new FmodEvent[EventPaths.Length];
     for (int i = 0; i < Events.Length; i++)
     {
         Events[i] = new FmodEvent(EventPaths[i]).LoadMarkers();
     }
 }