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

@@ -20,14 +20,12 @@ public static class NGUIText
public Vector2 u2;
public Vector2 u3;
public float advance;
public bool rotated;
public int channel;
}
// Static fields — defaults matching original initializers
public static UIFont bitmapFont;
public static UnityEngine.Font dynamicFont;
public static GlyphInfo glyph = new GlyphInfo();
public static int fontSize = 16;
public static float fontScale = 1f;
public static float pixelDensity = 1f;
@@ -50,7 +48,6 @@ public static class NGUIText
public static int finalSize = 0;
public static float finalSpacingX = 0f;
public static float finalLineHeight = 0f;
public static float baseline = 0f;
public static bool useSymbols = false;
// Static methods — all no-ops or default returns
@@ -58,20 +55,15 @@ public static class NGUIText
public static void Update(bool request, UIWidget.Pivot piv) { }
public static void Prepare(string text) { }
public static BMSymbol GetSymbol(string text, int index, int textLength) => null;
public static float GetGlyphWidth(int ch, int prev) => 0f;
public static GlyphInfo GetGlyph(int ch, int prev) => null;
public static Color ParseColor24(string text, int offset) => Color.white;
public static Color ParseColor32(string text, int offset) => Color.white;
public static string EncodeColor(Color c) => "";
public static string EncodeColor24(Color c) => "";
public static string EncodeColor32(Color c) => "";
public static bool ParseSymbol(string text, ref int index) => false;
public static bool IsHex(char ch) => false;
public static string StripSymbols(string text) => text;
public static void Align(BetterList<Vector3> verts, int indexOffset, float printedWidth, int elements = 4) { }
public static int GetExactCharacterIndex(BetterList<Vector3> verts, BetterList<int> indices, Vector2 pos) => 0;
public static int GetApproximateCharacterIndex(BetterList<Vector3> verts, BetterList<int> indices, Vector2 pos) => 0;
public static void EndLine(ref StringBuilder s) { }
public static Vector2 CalculatePrintedSize(string text) => Vector2.zero;
public static int CalculateOffsetToFit(string text) => 0;
public static bool WrapText(string text, out string finalText, bool wrapLineColors = false) { finalText = text; return false; }