Exemple #1
0
 public static void Animate(AnimationModel anim, Action <float> onAnimation, Action onStart = null, Action onEnd = null)
 {
     CoroutineBehaviour.RunCoroutine(IEAnimate(anim, onAnimation, onStart, onEnd));
 }
Exemple #2
0
 private static void Init()
 {
     instance = new GameObject("CoroutineDispatcher").AddComponent <CoroutineBehaviour>();
     DontDestroyOnLoad(instance);
 }