Exemple #1
0
        private IEnumerator DespawnRoutine()
        {
            m_scaleInOut.ScaleOut();
            yield return(new WaitWhile(() => m_scaleInOut.Fading));

            gameObject.SetActive(false);
        }
Exemple #2
0
 private IEnumerator DespawnRoutine()
 {
     m_scaleInOut.ScaleOut();
     yield return(new WaitWhile(() => m_scaleInOut.Fading));
 }