using ET; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ET { public class FsmStateBaseAwakeSystem : AwakeSystem { public override void Awake(FsmStateBase self, StateTypes a, string b, int c) { self.StateTypes = a; self.StateName = b; self.Priority = c; } } public class FsmStateBase : Entity { /// /// 状态类型 /// public StateTypes StateTypes { get; set; } /// /// 状态名称 /// public string StateName { get; set; } /// /// 状态的优先级,值越大,优先级越高。 /// public int Priority { get; set; } } }