Complete the code to create a new GameObject named "Player".
GameObject player = new GameObject([1]);The GameObject constructor requires the name as a string in double quotes.
Complete the code to rename an existing GameObject to "Enemy".
gameObject.[1] = "Enemy";
SetName.The name property sets the GameObject's name.
Fix the error in the code to create a GameObject named "Bullet".
GameObject bullet = new GameObject([1]);The name must be a string in double quotes to avoid errors.
Fill both blanks to create a GameObject named "Coin" and then rename it to "GoldCoin".
GameObject coin = new GameObject([1]); coin.[2] = "GoldCoin";
name property to rename.Use "Coin" to name the new GameObject and set the name property to rename it.
Fill all three blanks to create a GameObject named "Tree", rename it to "OakTree", and then print its name.
GameObject tree = new GameObject([1]); tree.[2] = "OakTree"; Debug.Log(tree.[3]);
name property.Create the GameObject with "Tree", rename by setting name, and print the name property.
