Quest Manager
Presented by IQuestManager interface, this system provides functionality for processing quests.
To use this system, inject IQuestManager interface into your class, as shown below:
Parameters in inspector
questsCollection – reference to scriptable object which contains quests collection (all available quests and initial quests list, separately).
Available methods
This method starts quest by known questId. If this parameter is not correct or empty, this method will not do anything. questId string should have GUID format.
Example:
This method increments progress of all active quests which have a certain task type.
Examples:
This method returns information about quest with certain ID.
Example:
This method returns current state of quest with certain ID. You can use this to get information about quest progress.
Example:
This method returns current progress for task taskType for quest with questId.
Example:
This method returns true, if quest is completed, otherwise it returns false.
This method returns true, if quest was started and is currently running.
Last updated