update core

This commit is contained in:
2024-10-24 22:45:29 +08:00
parent 2181e42066
commit b56a237c6b
9 changed files with 44 additions and 5965 deletions

View File

@@ -5,6 +5,11 @@ namespace Framework.Utils.Extend
{
public static class VectorExtend
{
public static Vector2 ABS (this Vector2 vector2)
{
return new Vector2 (math.abs (vector2.x) , math.abs (vector2.y));
}
public static Vector3 SetZ (this Vector3 vector3 , float z)
{
return new Vector3 (vector3.x , vector3.y , z);