Skip to content

Conversation

@jackandcarter
Copy link
Owner

Motivation

  • Introduce an editor-built start hub for M2 so players can select missions from a galaxy map-style UI and set a home base location on the outer rim.
  • Provide a lightweight controller to drive mission selection, previewing objectives, and starting mission flow instead of generating UI at runtime.
  • Keep navigation consistent by adding a Return to Main Menu action wired into the hub UI.

Description

  • Added a new scene Assets/M2StartScene.unity that contains an editor-built MissionSelectionCanvas with MissionListPanel, MissionDetailsPanel, and StartMissionPanel, plus an EventSystem and a HomeBaseLocation marker.
  • Implemented Assets/M2StartScene/Scripts/M2StartSceneController.cs which defines mission data, wires mission button callbacks, updates mission preview fields, and exposes SelectMission, StartSelectedMission, and ReturnToMainMenu methods.
  • Seeded three default missions (Outer Rim Recon, Supply Run, Derelict Recovery) and exposed references for UI text fields and buttons so designers can hook the editor UI to the controller.
  • Added supporting folder and meta files under Assets/M2StartScene and Assets/M2StartScene/Scripts.

Testing

  • No automated tests were executed for this change.
  • The scene and controller are editor/UI changes that should be validated by opening M2StartScene in the Unity editor and verifying button wiring, mission preview updates, Start Mission navigation, and Return to Main Menu behavior.

Codex Task

@jackandcarter jackandcarter merged commit db9c88b into v1.0.4 Jan 9, 2026
1 of 2 checks passed
@jackandcarter jackandcarter deleted the codex/create-m2startscene-and-mission-selection-ui branch January 9, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants