IndieGame/client/Assets/ParadoxNotion/NodeCanvas/Modules/StateMachines/Nodes/EmptyState.cs
DOBEST\zhaoyingjie f242607587 初始化工程
2024-10-11 10:12:15 +08:00

21 lines
590 B
C#

using ParadoxNotion.Design;
namespace NodeCanvas.StateMachines
{
[Description("This node has no functionality and you can use this for organization.\nIn comparison to an empty Action State, Transitions here are immediately evaluated in the same frame that this node is entered.")]
[Color("6ebbff")]
[Name("Pass", 98)]
public class EmptyState : FSMState
{
public override string name {
get { return base.name.ToUpper(); }
}
protected override void OnEnter() {
Finish();
CheckTransitions();
}
}
}