cull(engine-cleanup): pass-9 cascade round 2 after UILabel stub
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user