AI Command Lab // Flight Simulator
306F: The Post-Process
Initial AI Output (Fragile)
// AI-Generated Code: Legacy Method
void OnHit() {
// Audit Fail: This is the old "OnGUI" way.
// It draws a red texture over the screen. Slow and ugly.
GUI.DrawTexture(rect, redTexture);
}
Initial AI Prompt
"You ask the AI: "Make the screen red when I get hit.""
Pilot Comm Link
Mission Objective: A skilled Navigator directs the AI to drive the Volume.
Optimized Protocol
// Corrected: Cinematic FX volume.profile.TryGet(out Vignette vig); vig.color.value = Color.red; vig.intensity.value = 0.5f;