示例#1
0
 private void InteractiveCheck()
 {
     if (platform == PlatformJudge.Platfrom.PC || platform == PlatformJudge.Platfrom.WEB_PC)
     {
         if (Input.GetKeyDown(KeyCode.F))
         {
             interactivePlayer.InteractiveWithClosetObject();
         }
     }
     else
     {
         if (interactButton.IsTrigger())
         {
             interactivePlayer.InteractiveWithClosetObject();
         }
     }
 }