Exemplo n.º 1
0
 public WaitForAnimation(CSpineController pController)
 {
     _pController = pController;
     if (_pController.p_bIsPlaying)
     {
         _bWaitForAnimation    = true;
         _strAnimation_Started = _pController.p_strCurrentAnimationName;
         _pController.p_pAnimation.state.Interrupt += State_Interrupt;
         _pController.p_pAnimation.state.Complete  += State_Complete;
         _fTimeFinish = Time.time + _pController.p_fAnimationStartTime + Time.deltaTime;
     }
     else
     {
         _bWaitForAnimation = false;
     }
 }
Exemplo n.º 2
0
 public WaitForAnimationAll(CSpineController pController)
 {
     _pController = pController;
 }