Example #1
0
 public void RunAway()
 {
     m_Animator.SetTrigger("isRunning");
     m_BeginRun = !m_BeginRun;
     DestroyAfterTime();
     m_GameOverScript.SetLoseTextActive();
     GameManager.instance.OnLoseLevel();
 }