public void OnStartAction() { Debug.Log("Start action"); screenControlsRef.SetControlsData(controlsItem); screenControlsRef.ShowControls(); screenControlsRef.SetMessageData(controlsItem); screenControlsRef.ShowMessage(); animationScript.OpenDoors(); }
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(); } }
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; } }