public override void OnLeaved() { var setter = new ValueSetter(this, LoopSource); setter.ForceExecute(); base.OnLeaved(); }
public override void OnEntered() { // 初回だけ if (!executedInitSource) { executedInitSource = true; var setter = new ValueSetter(this, InitSource); setter.ForceExecute(); } var isContinuous = (bool)Util.Calc.Execute(this, ConditionSource, typeof(bool)).Object; if (!isContinuous) { IsContinuous = false; SkipExecute(); } }
public ValueSetter(ValueSetter other) : base(other) { ValueSetterType = other.ValueSetterType; Name = other.Name; Formula = other.Formula; }