Start Quest Command
💡
3
Create a new C# script called StartQuest.cs with:
[Serializable]
public class StartQuest : ICommand
{
[SerializeField] private Quest m_quest = null;
public Task Execute()
{
Debug.Assert(m_quest != null, "Missing Quest reference!");
GameManager.JournalSystem.StartQuest(m_quest);
return Task.CompletedTask;
}
}
And enjoy!

💬 Comments (0)
Be the first to comment! Join our Discord to share your thoughts.
Want to continue the conversation?