public override void Execute() { if (boolVariable.value) { actionTrue.Execute(); } else { for (int i = 0; i < actionFalse.Length; i++) { actionFalse[i].Execute(); } } }
public override void Execute() { if (targetBool.value) { if (onTrueAction != null) { onTrueAction.Execute(); } } else { if (onFalseAction != null) { onFalseAction.Execute(); } } }
public override void Execute(StateManager states) { monoAction.Execute(); }