AI Command Lab // Flight Simulator

206A: The Mixer Board

Initial AI Output (Fragile)

// AI-Generated Code: Hard References
public AudioSource musicSource;
public void SetVolume(float vol) {
    // Audit Fail: This only controls ONE song.
    // What about the menu music? The boss music?
    musicSource.volume = vol;
}

Initial AI Prompt

"You ask the AI: "Make a volume slider for the music.""

Pilot Comm Link

Mission Objective: A skilled Pilot directs the AI to use the Mixer. You command: "Expose the 'MusicVol' parameter in the Audio Mixer and drive it via `mixer.SetFloat`."