cull(engine-cleanup): pass-9 cascade round 1 after NGUIText stub

This commit is contained in:
gamer147
2026-07-03 23:37:54 -04:00
parent 9183625ac2
commit 08c6bca58c
7 changed files with 0 additions and 102 deletions

View File

@@ -78,28 +78,6 @@ public static class NGUIMath
}
}
[DebuggerHidden]
[DebuggerStepThrough]
public static string DecimalToHex24(int num)
{
num &= 0xFFFFFF;
return num.ToString("X6");
}
[DebuggerHidden]
[DebuggerStepThrough]
public static string DecimalToHex32(int num)
{
return num.ToString("X8");
}
[DebuggerHidden]
[DebuggerStepThrough]
public static int ColorToInt(Color c)
{
return 0 | (Mathf.RoundToInt(c.r * 255f) << 24) | (Mathf.RoundToInt(c.g * 255f) << 16) | (Mathf.RoundToInt(c.b * 255f) << 8) | Mathf.RoundToInt(c.a * 255f);
}
public static Rect ConvertToTexCoords(Rect rect, int width, int height)
{
Rect result = rect;