Esempio n. 1
0
 void Death()
 {
     isDead = true;
     baseball.DisableEffects();
     playerAudio.clip = deathClip;
     playerAudio.Play();
     baseball.enabled     = false;
     fpcontroller.enabled = false;
 }
Esempio n. 2
0
 void Win()
 {
     isWon = true;
     baseball.DisableEffects();
     playerAudio.clip = winClip;
     playerAudio.Play();
     baseball.enabled     = false;
     fpcontroller.enabled = false;
     //anim.SetTrigger("Win");
 }
Esempio n. 3
0
 void Enter()
 {
     isTouching = true;
     baseball.DisableEffects();
     playerAudio.clip = warpClip;
     playerAudio.Play();
     baseball.enabled     = false;
     fpcontroller.enabled = false;
     //anim.SetTrigger("Win");
 }