projectEli/Assets/NeoFPS/Core/MotionGraphs/States/NullState.cs

20 lines
551 B
C#
Raw Normal View History

2022-11-07 01:28:33 +00:00
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");
}
}
}