Example #1
0
 public void UpdateAnimationSubtitle(Animation _anim = null)
 {
     if (_anim is InsertAnim)
     {
         InsertAnim anim = _anim as InsertAnim;
         CoroutineMgr.Start(InsertSubtitle(anim.duration, anim.mode, anim.text));
     }
     else if (_anim is ExitAnim)
     {
         ExitAnim anim = _anim as ExitAnim;
         CoroutineMgr.Start(ExitSubtitle(anim.duration, anim.mode));
     }
 }
Example #2
0
 public void Reset()
 {
     aEntry = GetComponent <EntryAnim>();
     aExit  = GetComponent <ExitAnim>();
 }