Ejemplo n.º 1
0
 private void DelyPlay()
 {
     FindAnimCore(true);
     Debug.Assert(animPlayer != null, "no enough animplayer named:" + this);
     if (animPlayer)
     {
         animPlayer.speed    = speed;
         animPlayer.opposite = opposite;
         animPlayer.SetVisible(true);
         animPlayer.SetActive(this);
         var feature = animPlayer.RetriveFeature <CompleteAbleItemFeature>();
         feature.RegistOnCompleteSafety(this, OnAnimPlayCallBack);
         feature.AutoExecute(this);
     }
 }