浏览代码

Removed AutoState

/main
Thomas ICHE 5 年前
当前提交
148362d3
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 5
      Runtime/Ingredients/StateMachine/StateMachine.cs

5
Runtime/Ingredients/StateMachine/StateMachine.cs


SetState(DefaultState);
}
private void OnValidate()
{
SetState(DefaultState);
}
public void SetState(string stateName)
{
State newState = States.FirstOrDefault(o => o.StateName == stateName);

正在加载...
取消
保存