Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which statement best describes the relationship between a GameObject and its components?" on CodeWiki (https://codewiki.com/practice/mcq/gamedev/unity-fundamentals/component-composition/).
Context (verbatim from the page):
"""
Which statement best describes the relationship between a GameObject and its components?
A GameObject owns components that provide separate pieces of behavior and data.
Every component creates an independent GameObject at runtime.
A GameObject receives behavior only by inheriting from another GameObject.
A Transform is optional when a GameObject never moves.
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in Game development. Where you are unsure, say so.