Hi, in Complete C# Unity Game Developer 2D course Laser Defender course video #113, why are we converting Vector2d rawinput to Vector3d? Why do we need this?
Hi,
transform.position
is of type Vector3. Unity’s input actions work with Vector2.
Is this what you wanted to know?
See also:
- Forum User Guides : How to mark a topic as solved
Thanks Nina, didn’t know input actions are only Vector2.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.