cull(engine-cleanup): pass-9 cascade round 2 after UILabel stub

This commit is contained in:
gamer147
2026-07-03 23:46:27 -04:00
parent 773844165b
commit 87891f9896
4 changed files with 0 additions and 40 deletions

View File

@@ -128,24 +128,6 @@ public class UIRoot : MonoBehaviour
}
}
public float GetPixelSizeAdjustment(int height)
{
height = Mathf.Max(2, height);
if (activeScaling == Scaling.Constrained)
{
return (float)activeHeight / (float)height;
}
if (height < minimumHeight)
{
return (float)minimumHeight / (float)height;
}
if (height > maximumHeight)
{
return (float)maximumHeight / (float)height;
}
return 1f;
}
protected virtual void Awake()
{
mTrans = base.transform;