Exemple #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);
             }
         }
     }
 }
Exemple #2
0
 public static bool Recover(List <bool> obj)
 {
     checkInit();
     return(sPoolLB.Recover(obj));
 }
Exemple #3
0
 public static bool Recover(AsbInfo obj)
 {
     checkInit();
     return(sPoolAsbInfo.Recover(obj));
 }
Exemple #4
0
 public static bool Recover(List <float> obj)
 {
     checkInit();
     return(sPoolLF.Recover(obj));
 }
Exemple #5
0
 public static bool Recover(List <string> obj)
 {
     checkInit();
     return(sPoolLS.Recover(obj));
 }
 void recover(Toggle toggle)
 {
     mPool.Recover(toggle);
 }
 private void recoverItem(ScrollItem item)
 {
     mItemPool.Recover(item);
 }
Exemple #8
0
 public static bool Recover(List <int> obj)
 {
     _checkInit();
     return(sPoolLI.Recover(obj));
 }