Пример #1
0
        public override void OnLeaved()
        {
            var setter = new ValueSetter(this, LoopSource);

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