public void Copy(MissionObject _object) { if (_object == null) { return; } base.Copy(_object); BehaviourFoldout = _object.BehaviourFoldout; if (Target != null && _object.Target != null) { Target.Copy(_object.Target); } }
public MissionObject(MissionObject _object) : base(_object) { Copy(_object); }