コード例 #1
0
 // When player interacts with this arcade object
 public override void Interact(InteractArcade player)
 {
     base.Interact(player);
     player.ClearCurrentInteractable();
     // start animation
     playerCam.SetActive(false);
     animCam.SetActive(true);
     animCamAnimator.SetTrigger("PanIntoMachine");
     backlight.SetActive(true);
 }
コード例 #2
0
 public override void Interact(InteractArcade player)
 {
     base.Interact(player);
     characterPanel.SetActive(true);
     playerInput.SwitchCurrentActionMap("UI");
 }
コード例 #3
0
 // Player interacts with this arcade object
 public virtual void Interact(InteractArcade player)
 {
     popUpText.SetActive(false);
 }
コード例 #4
0
 public override void Interact(InteractArcade player)
 {
     base.Interact(player);
     animator.SetTrigger("Activate");
 }