示例#1
0
 internal ConditionBaseNode(
     string name,
     OnCheckCondition onConditionCheck
     ) : base(name)
 {
     this.inference = onConditionCheck;
 }
示例#2
0
 public IfNode(
     string name,
     OnCheckCondition onCheckCondition,
     IBehaviorNode thenChild
     ) : base(name, onCheckCondition)
 {
     this.thenChild = thenChild;
 }
 public WaitForAction(AdvertisingObject _myObject, string _name, KeyValuePair <NeedType, float>[] _advertisedReward, KeyValuePair <NeedType, float>[] _rewards, UnityAction _onEnd, UnityAction _onStart, OnCheckCondition _evaluateEndCondition)
     : base(_myObject, _name, _advertisedReward, _rewards, _onEnd, _onStart)
 {
     evaluateEndCondition = _evaluateEndCondition;
 }