// Use this for initialization void Start() { dialogueNodesListUI = FindObjectOfType <DialogueNodesListUI>(); playerChoicesListUI = FindObjectOfType <PlayerChoicesListUI>(); dialogueUI = FindObjectOfType <DialogueUI>(); displayController = GetComponent <UIDisplayController>(); }
// Use this for initialization void Start() { playerChoicesListUI = FindObjectOfType <PlayerChoicesListUI>(); dialogueUI = FindObjectOfType <DialogueUI>(); options = transform.Find("DialogueOptions").gameObject; saveDialogue = transform.Find("Save").gameObject; activeToggle = transform.GetComponentInChildren <Toggle>(); dialogueNodesListUI = FindObjectOfType <DialogueNodesListUI>(); }
void Start() { playerChoiceDetailsUI = FindObjectOfType <PlayerChoiceDetailsUI>(); playerChoiceListUI = FindObjectOfType <PlayerChoicesListUI>(); }