예제 #1
0
 public void OnRootHit(Collider2D col)
 {
     if (col.gameObject.CompareTag("Harmful") && !invincible)
     {
         TimeControl.Hitstop(.05f);
         CameraShake.Shake(.1f, .1f);
         GameOver();
     }
     //Debug.Log("ROOT HIT " + col);
 }