// Use this for initialization void Start() { di = GetComponent <DialogueImplementation> (); gameInfo = GameObject.Find("GameInfo"); gi = gameInfo.GetComponent <GameInfo> (); textbox = GameObject.Find("TextBox"); dv = textbox.GetComponent <DialogueVisuals> (); }
public void Start() { _originalScale = new Vector3(1, 1, 1); _moveObjectMgr = FindObjectOfType <MovingObjectManager>(); _dialogueimp = FindObjectOfType <DialogueImplementation>(); //raftCollider.enabled = false; SetAllCollidersStatus(active: false); }
private void Start() { _player = GameObject.Find("Player"); _dialogueimp = FindObjectOfType <DialogueImplementation>(); _playerCtrl = FindObjectOfType <PlayerController>(); _offset = new Vector3(0, 5, 0); _isOn = false; IntroPlatform(); }
void Awake() { Instance = this; _dialogue = GetComponent <Dialogue>(); foreach (var gameObject in _optionButtons) { gameObject.SetActive(false); } if (_defaultDialogue != null) { textToRun = _defaultDialogue.text; } }
// Use this for initialization void Start() { dialogue = GameObject.Find("IntroDialogue").GetComponent <Dialogue>(); imp = GameObject.Find("IntroDialogue").GetComponent <DialogueImplementation>(); dialogue.Run(imp.defaultDialogue); }