Example #1
0
        public override void OnLeaved()
        {
            var setter = new ValueSetter(this, LoopSource);

            setter.ForceExecute();
            base.OnLeaved();
        }
Example #2
0
        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();
            }
        }
Example #3
0
 public ValueSetter(ValueSetter other) : base(other)
 {
     ValueSetterType = other.ValueSetterType;
     Name            = other.Name;
     Formula         = other.Formula;
 }