コード例 #1
0
ファイル: AudioUser.cs プロジェクト: fuzzblob/ECS_Playground
 void OnDisable()
 {
     if (_isApplicationQuitting) //so that the DeRegister won't be called after exiting play mode and throw exceptions.
     {
         return;
     }
     AudioService.DeRegisterAudioUser(this);
 }