// Use this for initialization
 void Start()
 {
     dialogueNodesListUI = FindObjectOfType <DialogueNodesListUI>();
     playerChoicesListUI = FindObjectOfType <PlayerChoicesListUI>();
     dialogueUI          = FindObjectOfType <DialogueUI>();
     displayController   = GetComponent <UIDisplayController>();
 }
Example #2
0
 // 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>();
 }