Files
2026-02-21 16:45:37 +08:00

10 lines
172 B
C#

using UnityEngine;
public static class VectorUtil
{
public static Vector4 ToVector(this Rect rect)
{
return new Vector4(rect.x, rect.y, rect.width, rect.height);
}
}