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