コード例 #1
0
 protected void GetControllers()
 {
     inventoryController = FindObjectOfType <InventoryController>();
     craftingInventory   = FindObjectOfType <CraftingInventory>();
     consumableInventory = FindObjectOfType <ConsumableInventory>();
     characterController = FindObjectOfType <BattleSystem.CharacterController>();
     sceneController     = FindObjectOfType <SceneController>();
     questController     = FindObjectOfType <QuestController>();
 }
コード例 #2
0
 private void Awake()
 {
     questDatabase       = GetComponent <QuestDatabase>();
     characterController = FindObjectOfType <BattleSystem.CharacterController>();
     EventController.OnPendingQuestsComplete += PerformShowAlert;
 }