Reflex Training
Mechanic Sector
(Engage card to reveal Pilot's Intelligence.)
The Pilot's Audit
"The AI Trap: "The Scene Duplicate""
// AI-Generated Code: Manual Labor
// The AI suggests duplicating the GameObject in the Hierarchy.
// "Select the Enemy, press Ctrl+D 10 times."
Protocol Analysis
This is "Maintenance Debt." If you need to add a health bar later, you must do it 10 separate times.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Race Condition""
// GameManager.cs
void Awake() {
// Audit Fail: What if the Player hasn't run its Awake() yet?
// You might get null, or partially initialized data.
player = GameObject.Find("Player").GetComponent<Player>();
}
Protocol Analysis
This is "Temporal Coupling." You are gambling that the Player loads before the Manager. If Unity decides to load them in reverse order today, your game crashes.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Jitterbug""
// AI-Generated Code: Unstable Simulation
void Update() {
// Audit Fail: Applying force in Update means fast PCs push harder
// than slow PCs.
rb.AddForce(transform.forward * 10);
}
Protocol Analysis
This is "Frame-Rate Dependency." The game physics behave differently on a 30FPS laptop vs a 120FPS gaming rig.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Instance Override""
// AI Suggestion: Just change it in the scene!
// Audit Fail: You have now "Dirtied" this specific instance.
// If you later update the Enemy Prefab to have 200 HP,
// this specific Red Enemy might incorrectly block that update.
Protocol Analysis
This is "Instance Drift." Over time, your scene becomes filled with objects that have "broken the link" to their original blueprints, making global updates impossible.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Mystery Value""
// AI-Generated Code: Ambiguous
public class Engine : MonoBehaviour {
// Audit Fail: Is this degrees C? F? A percentage?
// What happens if I set it to 5000?
public float heatLevel;
}
Protocol Analysis
This is "Context Vacuum." A designer might set heat to 100 thinking it's a percentage, causing the engine to explode instantly.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Invisible Data""
// AI-Generated Code: Valid C#, but Invisible in Unity
public class ItemStats {
public int weight;
public int cost;
}
public class Inventory : MonoBehaviour {
public ItemStats stats; // Audit Fail: Won't show up!
}
Protocol Analysis
This is "Inspector Blindness." The code compiles, but the `stats` field will not appear in the Unity Editor, making it impossible for designers to balance the game.
Audit Complete
Scanning database for new traps