예제 #1
0
 // Turn on the escape menu if collided by the player
 private void OnTriggerEnter(Collider col)
 {
     if (col.gameObject.name == "Player")
     {
         //Debug.Log("Collide Character");
         escapeMenu.SetIsShowMenu(true);
     }
     //Debug.Log(col.gameObject.name);
 }