Exemplo n.º 1
0
 public void StopConstAnimation()
 {
     _anim.Stop();
     _anim.Play("DockMiniEmpty");
     miniManager1.stopAnimate();
     miniManager2.stopAnimate();
     miniManager1.transform.localPosition = new Vector3(250f, 0f, 0f);
     miniManager2.transform.localPosition = new Vector3(250f, 0f, 0f);
     init(_index);
 }
Exemplo n.º 2
0
 public void CompEndAnimate()
 {
     _anim.Stop();
     miniManager3.stopAnimate();
     miniManager3.init(isDefault: false);
     for (int i = 0; i < 2; i++)
     {
         miniManager3.addSprite("mini_04_b_0" + (i + 1));
     }
     _anim.Play("DockMiniHight");
     ((Component)fire).SetActive(isActive: true);
     fire.time = 0f;
     fire.Play();
     miniManager3.StartAnimation("DockMiniRunLoop", WrapMode.Loop, 0f);
 }
Exemplo n.º 3
0
 public void StopIdleAnimation()
 {
     _anim.Stop();
     miniManager4.stopAnimate();
     DisableParticles();
 }