Exemplo n.º 1
0
    void Fly()
    {
        sp.enabled = false;
        Invoke("Next", 5);

        trail.StartTrails();
    }
Exemplo n.º 2
0
 private void TrailShow()
 {
     if (MoveSpeed > 0)
     {
         PlayerTrail.StartTrails();
     }
 }
Exemplo n.º 3
0
 void Fly()
 {
     isFly = true;
     Audioclap(flyClip);
     testtrial.StartTrails();
     sp.enabled = false;
     Invoke("Next", 5);
 }
Exemplo n.º 4
0
 void Fly()
 {
     isFly = true;
     AudioPlay(fly);
     myTrail.StartTrails();
     sp.enabled = false;
     Invoke("Next", 5);
 }
Exemplo n.º 5
0
 void Fly()
 {
     //开始飞行
     isReleased = true;
     isFly      = true;
     Audioplay(fly);
     myTrail.StartTrails();
     sp.enabled = false;
     Invoke("Next", 5);
 }
Exemplo n.º 6
0
 //小鸟飞出后
 private void Fly()
 {
     isFly = true;
     //弹簧失效
     sp.enabled = false;
     //皮筋失效
     rightLine.enabled = false;
     leftLine.enabled  = false;
     //添加拖尾效果
     myTrail.StartTrails();
     //播放小鸟飞出的音乐
     AudioPlay(fly);
     //添加死亡特效
     Invoke("Next", 4);
 }