Exemplo n.º 1
0
 public void OnStartAction()
 {
     Debug.Log("Start action");
     screenControlsRef.SetControlsData(controlsItem);
     screenControlsRef.ShowControls();
     screenControlsRef.SetMessageData(controlsItem);
     screenControlsRef.ShowMessage();
     animationScript.OpenDoors();
 }
Exemplo n.º 2
0
 public void OnStartAction()
 {
     //Set Controls
     screenControlsRef.SetControlsData(controlsItem);
     screenControlsRef.ShowControls();
     screenControlsRef.SetMessageData(controlsItem);
     screenControlsRef.ShowMessage();
     teleportHandler.InteractionStartAction();
     animationScript.OpenDoors();
 }
 public void OnStartAction()
 {
     Debug.Log("Start action");
     if (interactionObject.character != null)
     {
         character = interactionObject.character;
     }
     screenControlsRef.SetMessageData(controlsItem);
     screenControlsRef.ShowMessage();
     if (rightLimiter)
     {
         character.ImmobilizeRight();
     }
     else
     {
         character.ImmobilizeLeft();
     }
 }
Exemplo n.º 4
0
 public void OnStartAction()
 {
     if (used)
     {
         return;
     }
     Debug.Log("Start action");
     if (messageTrigger)
     {
         screenControlsRef.SetControlsData(controlsItem);
         screenControlsRef.ShowControls();
         screenControlsRef.SetMessageData(controlsItem);
         screenControlsRef.ShowMessage();
     }
     if (oneUse)
     {
         used = true;
     }
 }