using System.Collections.Generic; namespace XFFSM { [System.Serializable] public class GroupCondition { public List conditions = new List(); } [System.Serializable] public class FSMTransitionData { public string fromStateName; public string toStateName; public string Key { get { return string.Format("{0}:{1}",fromStateName,toStateName); } } public List conditions = new List(); public List group_conditions = new List(); public bool AutoSwtich = false; public bool Empty { get { if(conditions.Count != 0) return false; foreach (GroupCondition condition in group_conditions) { if(condition.conditions.Count != 0) return false; } return true; } } } }