コード例 #1
0
 void Awake()
 {
     database  = QuestDatabase.Instance(questJSON);
     qlogmodel = GetComponent <QuestLogModel>();
     qlogview  = GetComponent <QuestLogView>();
     qprogress = GameObject.Find("Data").GetComponentInChildren <QuestProgress>();
 }
コード例 #2
0
 void Start()
 {
     _questLogModel = QuestLogModel.instance;
     _questLogView  = GetComponent <QuestLogView>();
     _questLogModel.questLogUI.SetActive(false);
     _questLogView.SetQuestParent(_questLogModel.questsParent);
     _playerController    = PlayerController.instance;
     _inventoryController = InventoryController.instance;
 }