Files
GaCy-GO/tools/ping_glyph_capture.lua
T

12 lines
593 B
Lua
Raw Normal View History

2026-10-28 18:54:43 +07:00
do
if not _G.__gacPingGlyphCount1 then
_G.__gacPingGlyphCount1=true
local p=_G.__GAC_PING_RAINBOW_STATE
if p then for _,t in pairs(p.targets)do
local g=t.text.cachedTextGenerator
local result='text='..tostring(t.text.text)..' verts='..tostring(g.verts.Count)..' characters='..tostring(g.characterCount)..' visible='..tostring(g.characterCountVisible)
for i=math.max(0,g.verts.Count-8),g.verts.Count-1 do result=result..' v'..i..'='..tostring(g.verts[i].position)..' uv='..tostring(g.verts[i].uv0)end
CS.UnityEngine.Debug.Log('[GAC_PING_GLYPHS] '..result)
end end
end
end