コード例 #1
0
 public IfNotActionNode(ConditionNode condition, ActionNode action)
 {
     Condition = () => !condition.Condition();
     Action    = action.Action;
 }
コード例 #2
0
 public IfElseActionNode(ConditionNode condition, ActionNode ifAction, ActionNode elseAction)
 {
     Condition  = condition.Condition;
     IfAction   = ifAction.Action;
     ElseAction = elseAction.Action;
 }
コード例 #3
0
ファイル: IfActionNode.cs プロジェクト: rito15/UnityStudy2
 public IfActionNode(ConditionNode condition, ActionNode action)
     : base(action.Action)
 {
     Condition = condition.Condition;
 }