public override void Interaction() { if (playerGotCabled) { interactor.ChangeCameraView(ds.GetComponent <Camera>()); interactor.hud.HudChange(2); ds.startDialog(); } }
IEnumerator removeWorldItem() { yield return(new WaitForSeconds(1.5f)); interactor.ChangeCameraView(ds.GetComponent <Camera>()); interactor.hud.HudChange(2); ds.startDialog(); interactor.hud.GetComponent <QuestList>().questTexts[0].text = "Find an intercom in one of the crew quarters and overload it."; intercom.playerGotCabled = true; Destroy(gameObject); }
public override void Interaction() { if (!used) { used = true; interactor.InteractionAnimation(2, 2); lever.transform.position = leverEndPos; interactor.ChangeCameraView(ds.GetComponent <Camera>()); ds.startDialog(); interactor.hud.HudChange(2); } }