コード例 #1
0
 // Start is called before the first frame update
 void Start()
 {
     textBoxScript = (textBoxController)dialogueBox.GetComponent(typeof(textBoxController));
 }
コード例 #2
0
 // Start is called before the first frame update
 protected virtual void Start()
 {
     textBoxScript = (textBoxController)dialogueBox.GetComponent(typeof(textBoxController));
     userPrompt    = player.transform.GetChild(0).gameObject.GetComponent(typeof(TextMeshProUGUI)) as TextMeshProUGUI;
 }