示例#1
0
        public void Copy(MoveDeadlockObject _object)
        {
            if (_object == null)
            {
                return;
            }

            Enabled = _object.Enabled;
            Foldout = _object.Foldout;

            Action    = _object.Action;
            Behaviour = _object.Behaviour;

            MinMoveDistance          = _object.MinMoveDistance;
            MoveInterval             = _object.MoveInterval;
            MoveMaxCriticalPositions = _object.MoveMaxCriticalPositions;

            LoopRange                = _object.LoopRange;
            LoopInterval             = _object.LoopInterval;
            LoopMaxCriticalPositions = _object.LoopMaxCriticalPositions;
        }
示例#2
0
 public MoveDeadlockObject(MoveDeadlockObject _object)
 {
     Copy(_object);
 }