additional package setup

This commit is contained in:
2025-11-16 18:31:17 -05:00
parent 3da42beb46
commit 2ca8077013
55 changed files with 1746 additions and 12 deletions

View File

@@ -0,0 +1,11 @@
using UnityEngine;
namespace Boxfriend.Extensions
{
public static class Vector2Extensions
{
/// <summary>
/// Changes a Vector2 into a Vector3 where the V2 Y axis is represented on the V3 Z axis
/// </summary>
public static Vector3 To3D(this Vector2 v2) => new Vector3(v2.x, 0, v2.y);
}
}