Beispiel #1
0
 public virtual void PlayEnterAnimation()
 {
     if (null != EnterAnimatioin)
     {
         EnterAnimatioin.Play();
     }
 }
    public virtual void PlayEnterAnimation()
    {
#if PPP_TEST
#else
        if (null != EnterAnimatioin)
        {
            EnterAnimatioin.Play();
        }
#endif
    }
Beispiel #3
0
 public virtual void PlayExitAnimation(bool isOk = false)
 {
     if (null != ExitAnimatioin)
     {
         //ExitAnimatioin.callBack.AddListener(() => {
         //    OnExitFinish(isOk);
         //});
         ExitAnimatioin.Play();
     }
     else
     {
         OnExitFinish(isOk);
     }
 }
    public virtual void PlayExitAnimation(bool isOk = false)
    {
#if PPP_TEST
        OnExitFinish(isOk);
#else
        if (null != ExitAnimatioin)
        {
            ExitAnimatioin.Play();
        }
        else
        {
            OnExitFinish(isOk);
        }
#endif
    }