private IEnumerator DelyPlay() { yield return(new WaitForSeconds(delyTime)); if (animPlayer != null) { animPlayer.duration = speed; animPlayer.onAutoPlayEnd = OnAnimPlayCallBack; animPlayer.SetVisible(true); animPlayer.StepActive(); } }
private IEnumerator DelyPlay() { yield return(new WaitForSeconds(delyTime)); if (animPlayer != null) { animPlayer.duration = speed; animPlayer.onAutoPlayEnd = OnAnimPlayCallBack; animPlayer.SetVisible(true); animPlayer.StepActive(); } }