FiE-Game/Assets/Scripts/Fie/PlayMaker/FieResultActionForPlaymaker.cs

15 lines
304 B
C#

using HutongGames.PlayMaker;
using UnityEngine.SceneManagement;
namespace Fie.PlayMaker
{
[ActionCategory("Friendship is Epic")]
public class FieResultActionForPlaymaker : FsmStateAction
{
public override void OnEnter()
{
SceneManager.LoadScene(0, LoadSceneMode.Single);
Finish();
}
}
}