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); } } } }
public static bool Recover(List <bool> obj) { checkInit(); return(sPoolLB.Recover(obj)); }
public static bool Recover(AsbInfo obj) { checkInit(); return(sPoolAsbInfo.Recover(obj)); }
public static bool Recover(List <float> obj) { checkInit(); return(sPoolLF.Recover(obj)); }
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); }
public static bool Recover(List <int> obj) { _checkInit(); return(sPoolLI.Recover(obj)); }