public void Continue(LogicData data) { this.Continue(Link, data); }
public virtual void Begin(LogicData data) { Continue(data); }
public virtual void SetActive(LogicData data, bool state) { }
public void InitData() { this.ShareData = new LogicData(this.Guid, this.CurrentLogicObject); }
//public virtual bool IsValueSet(List<LogicValue> valueList) //{ // if (!HasValue) // return true; // return valueList.Contains(logicValue); //} //public void GetLogicValue(Func<LogicValue> OnGetValue) //{ // if (!HasValue) // return; // logicValue = OnGetValue(); // logicValue.GUID = this.Guid; //} public virtual void OnTerminated(LogicData data) { }
//public void OnTerminated() //{ // terminated.Execute(); //} public void Init(LogicData data) { LogicNodeList.ForEach(x => x.Init(data)); }