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