About 159,000 results
Open links in new tab
  1. Unity - Scripting API: Vector2

    Representation of 2D vectors and points. This structure is used in some places to represent 2D positions and vectors (e.g. texture coordinates in a Mesh or texture offsets in Material). In the …

  2. New Unity Input System: Vector2 Movement | by Ryan McCoach

    Mar 1, 2025 · To use these Vector2 values to move the game object, we will need to create a Vector2 type variable move that will store the read Vector2 value from the context parameter.

  3. What is a Vector2 and Vector3 in Unity? - Stack Overflow

    Feb 1, 2019 · A Vector2 has a 2D direction, like a xy point in a 2D space, or the position of a joystick stick, or the uv offset of a point on a 2D texture. e.g. (0,0) or (-1, 100).

  4. Unity For Beginners - Vector 2 explained - YouTube

    Subscribed 234 7.6K views 2 years ago unity for beginners - vector 2 explained ...more

  5. Vector2 node • Unity Studio • Unity Docs

    The Vector2 node is a 2D vector toolbox for positions and directions (X, Y). Typical uses: Measure distance/length on a 2D plane (for example, UI movement). Normalize directions and blend or …

  6. Vectors | The Guidebook

    You should know if you want to use a Vector2 or a Vector3, because converting between the two implies a loss or gain of data. If you accidentally convert (“cast”) your vector from the Vector3 …

  7. C# in Unity - Vectors - Kybernetik

    A Unit Vector is a vector with a length of 1 unit. Setting the length of a vector to 1 without changing its direction is called "normalization" and can be done using Vector3.Normalize to …

  8. Unity Vectors – What Every Game Developer Needs To Know About Vectors ...

    A Vector2 object describes the X and Y position of a game object in Unity. Since it’s a Vector2, and it only describes X and Y values, it is used for 2D game development.

  9. Reading Input on a Vector2 - Getting Started - Unity Discussions

    Jan 15, 2025 · I have a vector2 for my 2d game and would like to know how to read the vectors, take them into the animator window and use the vector as a parameter for starting an animaton.

  10. Struct Vector2 - GitHub Pages

    Namespace: Unity Engine Assembly: UnityEngine.dll Syntax public struct Vector2 : IEquatable<Vector2>