You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Babushka/scripts/CSharp/Common/Quest/QuestTrigger.cs

18 lines
337 B

using Godot;
using System;
using Babushka.scripts.CSharp.Common.Quest;
public partial class QuestTrigger : Node
{
[Export]
public QuestResource questResource;
[Export]
public QuestStatus.Status toStatus;
public void Trigger()
{
QuestManager.Instance.ChangeQuestStatus(questResource, toStatus);
}
}