예제 #1
0
 void LateUpdate()
 {
     if (mPlayingSources.Count > 0)
     {
         for (int i = mPlayingSources.Count - 1; i >= 0; --i)
         {
             AudioSource audioSource = mPlayingSources[i];
             if (!audioSource.isPlaying)
             {
                 mPlayingSources.Remove(audioSource);
                 mSourcePool.Recover(audioSource);
             }
         }
     }
 }
예제 #2
0
 public static bool Recover(List <bool> obj)
 {
     checkInit();
     return(sPoolLB.Recover(obj));
 }
예제 #3
0
 public static bool Recover(AsbInfo obj)
 {
     checkInit();
     return(sPoolAsbInfo.Recover(obj));
 }
예제 #4
0
 public static bool Recover(List <float> obj)
 {
     checkInit();
     return(sPoolLF.Recover(obj));
 }
예제 #5
0
 public static bool Recover(List <string> obj)
 {
     checkInit();
     return(sPoolLS.Recover(obj));
 }
예제 #6
0
 void recover(Toggle toggle)
 {
     mPool.Recover(toggle);
 }
예제 #7
0
 private void recoverItem(ScrollItem item)
 {
     mItemPool.Recover(item);
 }
예제 #8
0
 public static bool Recover(List <int> obj)
 {
     _checkInit();
     return(sPoolLI.Recover(obj));
 }