コード例 #1
0
 private void Start()
 {
     questManager           = FindObjectOfType <QuestManager>();
     dialogSystemController = FindObjectOfType <DialogSystemController>();
     if (!File.Exists(Path.Combine(Application.persistentDataPath, "PlayerItems.json")))
     {
         StartIntro();
     }
     else
     {
         canvasGroup.alpha = 0.0f;
         image.enabled     = false;
     }
 }
コード例 #2
0
 void Start()
 {
     cameraController       = FindObjectOfType <CameraController>();
     dialogSystemController = FindObjectOfType <DialogSystemController>();
     playerMovement         = GameObject.FindWithTag("Player").GetComponent <PlayerController>();
 }
コード例 #3
0
 void Start()
 {
     this.DialogSystem = FindObjectOfType <DialogSystemController>();
 }