projectEli/Assets/NeoFPS/Core/MotionGraphs/States/NullState.cs
2022-11-06 20:28:33 -05:00

20 lines
551 B
C#

using UnityEngine;
namespace NeoFPS.CharacterMotion.States
{
[MotionGraphElement("Misc/Null", "Null")]
[HelpURL("https://docs.neofps.com/manual/motiongraphref-mgs-nullstate.html")]
public class NullState : MotionGraphState
{
public override bool completed
{
get { return true; }
}
public override void OnEnter()
{
base.OnEnter();
Debug.LogError("Entering null motion state. There should always be a valid transition out of this state");
}
}
}