public static SkillEvent ByteArrayToFsmEvent(byte[] bytes, int startIndex, int size) { string text = SkillUtility.ByteArrayToString(bytes, startIndex, size); if (!string.IsNullOrEmpty(text)) { return(SkillEvent.GetFsmEvent(text)); } return(null); }
public DelayedEvent(Skill fsm, string fsmEventName, float delay) : this(fsm, SkillEvent.GetFsmEvent(fsmEventName), delay) { }