private IEnumerator FirstPart() { yield return(new WaitForSeconds(2.0f)); _dialogueBox.SetActive(true); _dialogueHolder.StartDialogue(); }
private void OnMouseUpAsButton() { if (_isIn) { PlayerController.Instance.CanMove = false; _dialogueBox.SetActive(true); _dialogueHolder.StartDialogue(); _isIn = false; } }
void Start() { dialogue = GetComponent <DialogueHolder>(); dialogue.StartDialogue(); }