objective interface
This commit is contained in:
14
Assets/Game/Goal/ObjectiveEnterGoal.cs
Normal file
14
Assets/Game/Goal/ObjectiveEnterGoal.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class ObjectiveEnterGoal : ObjectiveHandler
|
||||
{
|
||||
public override string Description => "Enter the goal.";
|
||||
|
||||
override public void OnObjectiveSuccess() {
|
||||
Debug.Log("Wow!");
|
||||
}
|
||||
|
||||
override public void OnObjectiveFail() {
|
||||
Debug.Log("Sad!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user