public void PauseTween() { if (TweenInstance.IsPlaying()) { TweenInstance.Pause(); } }
IEnumerator PlayTweenWithDelay(float delay) { yield return(new WaitForSeconds(delay)); if (!TweenInstance.IsPlaying()) { TweenInstance.Play(); } }
public void PauseTween() { if (TweenInstance.IsPlaying()) { TweenInstance.Pause(); } }
IEnumerator PlayTweenWithDelay(float delay) { yield return(new WaitForSeconds(delay)); if (!TweenInstance.IsPlaying()) { TweenInstance.Play(); } }