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