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

This commit is contained in:
gamer147
2026-07-03 23:38:51 -04:00
parent 08c6bca58c
commit 39ae2b0c0a
4 changed files with 0 additions and 43 deletions

View File

@@ -18,8 +18,6 @@ public class BMGlyph
public int offsetY; public int offsetY;
public List<int> kerning;
public void Trim(int xMin, int yMin, int xMax, int yMax) public void Trim(int xMin, int yMin, int xMax, int yMax)
{ {
int num = x + width; int num = x + width;

View File

@@ -54,40 +54,4 @@ public class BMSymbol
{ {
mIsValid = false; mIsValid = false;
} }
public bool Validate(UIAtlas atlas)
{
if (atlas == null)
{
return false;
}
if (!mIsValid)
{
if (string.IsNullOrEmpty(spriteName))
{
return false;
}
mSprite = ((atlas != null) ? atlas.GetSprite(spriteName) : null);
if (mSprite != null)
{
Texture texture = atlas.texture;
if (texture == null)
{
mSprite = null;
}
else
{
mUV = new Rect(mSprite.x, mSprite.y, mSprite.width, mSprite.height);
mUV = NGUIMath.ConvertToTexCoords(mUV, texture.width, texture.height);
mOffsetX = mSprite.paddingLeft;
mOffsetY = mSprite.paddingTop;
mWidth = mSprite.width;
mHeight = mSprite.height;
mAdvance = mSprite.width + (mSprite.paddingLeft + mSprite.paddingRight);
mIsValid = true;
}
}
}
return mSprite != null;
}
} }

View File

@@ -337,7 +337,6 @@ public void Play(int hash, int layer, float normalizedTime) { }
public Vector3 WorldToScreenPoint(Vector3 p) => p; public Vector3 WorldToScreenPoint(Vector3 p) => p;
public Ray ScreenPointToRay(Vector3 p) => default; public Ray ScreenPointToRay(Vector3 p) => default;
} }
public partial struct CharacterInfo { }
// ---- coroutine machinery (never pumped headless; types must exist) ---- // ---- coroutine machinery (never pumped headless; types must exist) ----
public class YieldInstruction { } public class YieldInstruction { }

View File

@@ -98,10 +98,6 @@ namespace UnityEngine
public static int GetAllCameras(Camera[] cameras) => 0; public static int GetAllCameras(Camera[] cameras) => 0;
} }
public partial struct CharacterInfo
{
}
public partial class Font public partial class Font
{ {
public string[] fontNames { get; set; } public string[] fontNames { get; set; }