Complete the code to set the position of a GameObject to (0, 5, 0).
transform.[1] = new Vector3(0, 5, 0);
The position property sets the world position of the GameObject.
Complete the code to rotate a GameObject 90 degrees around the Y axis.
transform.[1] = Quaternion.Euler(0, 90, 0);
The rotation property sets the world rotation of the GameObject using a Quaternion.
Fix the error in the code to double the size of a GameObject.
transform.localScale = transform.localScale [1] 2;
To double the size, multiply the localScale vector by 2.
Fill both blanks to create a dictionary of GameObject names and their Y positions, only if Y is above 0.
var positions = new Dictionary<string, float> { { [1], transform.position.[2] } };The key is the GameObject's name, and the value is the Y position from transform.position.y.
Fill all three blanks to create a dictionary mapping uppercase GameObject names to their scale and filter scales greater than 1.
var scales = new Dictionary<string, Vector3> { { [1], [2] } }.Where(kv => kv.Value.[3] > 1).ToDictionary(kv => kv.Key, kv => kv.Value);Use the uppercase name as key, localScale as value, and filter by scale's X component greater than 1.