コード例 #1
0
 private void CheckControlsFlying()
 {
     if (CrossPlatformInputManager.GetButtonDown("Interact"))
     {
         chair.Flying(false);
         this.transform.parent = null;
         AllowedToMove(true);
         this.transform.position += new Vector3(0, 1, 0);
         chair = null;
     }
 }