Пример #1
0
 internal void PostEvent(AudioEventItem econfig, AkGameObj target, bool skipSwitchSetting = false)
 {
     bankLoader.LoadAtom(econfig.BankRef, false, (AKRESULT result) =>
     {
         if (AudioUtil.VerifyAKResult(result, "Audio load atom:" + econfig.BankRef))
         {
             LoadBankResultHandler(econfig, target, skipSwitchSetting);
         }
     });
 }
Пример #2
0
 /// <summary>
 /// 播放音频
 /// </summary>
 /// <param name="econfig"></param>
 /// <param name="target"></param>
 public void PostEvent(AudioEventItem econfig, GameObject target)
 {
     bankLoader.LoadAtom(econfig.BankRef, LoadResultHandler, target, econfig);
 }