예제 #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject == playerObject)
     {
         player.SetFloorType((int)floor);
     }
 }