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