12 lines
593 B
Lua
12 lines
593 B
Lua
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
|