Visual Audit Protocol

The Navigator

Return to Hangar
301A

The Global Compass

The Concept: Singletons & DontDestroyOnLoad

M
M
M
Duplicates
Instance
Unique
public static ScoreManager Instance; void Awake() { if (Instance == null) { Instance = this; DontDestroyOnLoad(gameObject); } else { Destroy(gameObject); // Clear the deck of duplicates! } }
301B

Airspace Transitions

The Concept: LoadSceneAsync

Frozen
Streaming
301C

The Mission Log

The Concept: Global Quest Architecture

Global State
Lvl 1
Lvl 2
301D

Cross-Scene Comms

The Concept: Global Events

Event
Subscriber
// The Signal (Broadcaster) public class QuestManager : MonoBehaviour { public static event Action OnQuestCompleted; public void CompleteQuest() { OnQuestCompleted?.Invoke(); // Broadcast to whoever is listening } } // The Receiver (Subscriber) public class AudioManager : MonoBehaviour { void OnEnable() => QuestManager.OnQuestCompleted += PlaySound; void OnDisable() => QuestManager.OnQuestCompleted -= PlaySound; }
301E

Regional Buffers

The Concept: Additive Scenes

Persistent
Additive
LoadSceneMode.Additive
301F

The Garbage Collector

The Concept: Resource Management

Linked (Leak)
Clean
public class MissionUI : MonoBehaviour { void OnEnable() => MissionManager.OnUpdate += Refresh; // Corrected: Severing the link when the UI is disabled void OnDisable() => MissionManager.OnUpdate -= Refresh; void Refresh() { /* Update UI logic */ } }
CAPSTONE EXAM

The Navigator's Exam

The mission is spanning multiple sectors, but the flight data is corrupting during transit. Identify the **three critical navigation failures** in the AI-generated logic to maintain fleet sync.

Verify Capacity
Check Scope
Audit Efficiency