Sorry fellas, noobie question. (I am converting myself from Java to C# and am trying to figure out all the little idiosyncrasies.)
When I put something like “Vector3(0, transform.rotation.y, 0)” into my code, it throws an error:
“error CS0119: Expression denotes a ‘type’, where a ‘variable’, ‘value’ or ‘method group’ was expected.”
How do I pull the value, not the type?
Thanks! (Sorry again for the simple question… I tried searching to -surprisingly- no avail.)