In Unit 1 there is Quiz in the end. There is written In the Question 9 a code:
transform.Rotate(Vector3.up, horizontalInput);```
In Rotate there should be * not , ? After comma there can be only Space.Self and Space.World?
Maybe I can also add the link to Quiz: https://learn.unity.com/quiz/quiz-1-9s
Thank you for answer. The reference says that Transform.Rotate is defined as:
public void Rotate(Vector3 eulers, Space relativeTo = Space.Self);
but in Quiz code horizontalInput value is a float between -1 and 1, not Space type variable. After comma there can be only Space.Self or Space.World as reference is saying to me.
Maybe it shouldn’t be comma but multiplayer in Quiz 9 like so:
Sometimes digging too deeply in the reference (the documentation) is a bad idea, especially since their descriptions are awfully technical.
The code provided in the quiz works perfectly and does what it’s intended to do, so, I don’t know what else say. Did you try the example provided in Unity to see what happens (and get the answer to the question at the same time :p)?