예제 #1
0
 void ReturnSfxInst(SoundInstance sfx, bool wasDestroyed)
 {
     if (wasDestroyed)
     {
         soundPool.RemoveUnusable(sfx);
     }
     else
     {
         soundPool.Free(sfx);
     }
 }
예제 #2
0
 void ReturnSfxInst(SoundInstance inst)
 {
     soundPool.Free(inst);
 }