Example #1
0
 public override Coroutine StartAnimation()
 {
     GameObject temp = new GameObject("Temp Obj");
     OnAnimationFinish += () => UnityEngine.Object.DestroyImmediate(temp);
     hasAnimBegun = true;
     isAnimDone = animationsInParallel.Count;
     Coroutine myCoro = temp.StartCoroutine(StartAnimationSequence_Coro());
     //temp.StartCoroutine(SetDoneWhenFinished_Coro(myCoro));
     return myCoro;
 }