示例#1
0
 public void Continue(LogicData data)
 {
     this.Continue(Link, data);
 }
示例#2
0
 public virtual void Begin(LogicData data)
 {
     Continue(data);
 }
示例#3
0
 public virtual void SetActive(LogicData data, bool state)
 {
 }
示例#4
0
 public void InitData()
 {
     this.ShareData = new LogicData(this.Guid, this.CurrentLogicObject);
 }
示例#5
0
        //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)
        {
        }
示例#6
0
        //public void OnTerminated()
        //{
        //    terminated.Execute();
        //}

        public void Init(LogicData data)
        {
            LogicNodeList.ForEach(x => x.Init(data));
        }