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

@@ -4,24 +4,9 @@ using UnityEngine;
[Serializable]
public class BMSymbol
{
public string sequence;
private bool mIsValid;
private int mLength;
private int mOffsetX;
private int mOffsetY;
private int mWidth;
private int mHeight;
private int mAdvance;
private Rect mUV;
public void MarkAsChanged()
{
mIsValid = false;

View File

@@ -4,11 +4,5 @@ public class UIGeometry
{
public BetterList<Vector3> verts = new BetterList<Vector3>();
public BetterList<Vector2> uvs = new BetterList<Vector2>();
public BetterList<Color32> cols = new BetterList<Color32>();
private BetterList<Vector3> mRtpVerts = new BetterList<Vector3>();
public bool hasVertices => verts.size > 0;
}

View File

@@ -86,7 +86,6 @@ public abstract class UIRect : MonoBehaviour
public enum AnchorUpdate
{
OnEnable,
OnUpdate }
public AnchorPoint leftAnchor = new AnchorPoint();

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;