public void Copy(MissionsObject _object)
        {
            if (_object == null)
            {
                return;
            }

            base.Copy(_object);

            Outpost.Copy(_object.Outpost);
            Escort.Copy(_object.Escort);
            Patrol.Copy(_object.Patrol);
        }
        public override void Reset()
        {
            if (Application.isPlaying)
            {
                //Debug.Log( "Creature.Reset: " + OwnerName );

                Status.Reset();
                Behaviour.Reset();
                Move.Reset();

                m_ActiveTarget = null;

                Essentials.Target.Reset();
                Missions.Outpost.Target.Reset();
                Missions.Escort.Target.Reset();

                if (Missions.Patrol.Target != null)
                {
                    Missions.Patrol.Target.Reset();
                }

                // PREDECISIONS INTERACTORS
                foreach (InteractorObject _interactor in Interaction.Interactors)
                {
                    _interactor.Reset();
                    foreach (TargetObject _target in _interactor.PreparedTargets)
                    {
                        _target.Reset();
                    }
                }
            }
            else
            {
                m_Interaction = new InteractionObject(OwnerComponent);
                m_Essentials  = new EssentialsObject(OwnerComponent);
                m_Status      = new StatusObject(OwnerComponent);
                m_Behaviour   = new BehaviourObject(OwnerComponent);
                m_Missions    = new MissionsObject(OwnerComponent);
                m_Move        = new MoveObject(OwnerComponent);
                m_Environment = new EnvironmentObject(OwnerComponent);
            }
        }
 public MissionsObject(MissionsObject _object) : base(_object)
 {
     Copy(_object);
 }