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

16 lines
304 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
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();
}
}
}