예제 #1
0
 private void Update()
 {
     if (Input.GetButtonDown("Interact"))
     {
         if (interactor)
         {
             Debug.Log(interactor.Interact(gameObject));
         }
     }
 }