コード例 #1
0
 // Use this for initialization
 void Start()
 {
     dialogueNodesListUI = FindObjectOfType <DialogueNodesListUI>();
     playerChoicesListUI = FindObjectOfType <PlayerChoicesListUI>();
     dialogueUI          = FindObjectOfType <DialogueUI>();
     displayController   = GetComponent <UIDisplayController>();
 }
コード例 #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>();
 }
コード例 #3
0
 void Start()
 {
     playerChoiceDetailsUI = FindObjectOfType <PlayerChoiceDetailsUI>();
     playerChoiceListUI    = FindObjectOfType <PlayerChoicesListUI>();
 }