コード例 #1
0
        public void Copy(ICEImpulsTimerObject _object)
        {
            if (_object == null)
            {
                return;
            }

            base.Copy(_object);

            TimerEnabled = _object.TimerEnabled;

            Enabled = _object.Enabled;

            UseInterval = _object.UseInterval;
            UseEnd      = _object.UseEnd;
            UseTrigger  = _object.UseTrigger;

            InitialImpulsTime        = _object.InitialImpulsTime;
            InitialImpulsTimeMaximum = _object.InitialImpulsTimeMaximum;

            ImpulseLimitMin     = _object.ImpulseLimitMin;
            ImpulseLimitMax     = _object.ImpulseLimitMax;
            ImpulseLimitMaximum = _object.ImpulseLimitMaximum;

            ImpulseIntervalMin     = _object.ImpulseIntervalMin;
            ImpulseIntervalMax     = _object.ImpulseIntervalMax;
            ImpulseIntervalMaximum = _object.ImpulseIntervalMaximum;

            ImpulseSequenceLimitMin     = _object.ImpulseSequenceLimitMin;
            ImpulseSequenceLimitMax     = _object.ImpulseSequenceLimitMax;
            ImpulseSequenceLimitMaximum = _object.ImpulseSequenceLimitMaximum;

            ImpulseSequenceBreakLengthMin     = _object.ImpulseSequenceBreakLengthMin;
            ImpulseSequenceBreakLengthMax     = _object.ImpulseSequenceBreakLengthMax;
            ImpulseSequenceBreakLengthMaximum = _object.ImpulseSequenceBreakLengthMaximum;

            SetActive(false);
        }
コード例 #2
0
 public ICEImpulsTimerObject(ICEImpulsTimerObject _object) : base(_object as ICEOwnerObject)
 {
     Copy(_object);
 }