uGUI_LinkImageText
uGUI_LinkImageText copied to clipboard
插入图片有黑点
图片位置有黑点 用了去除黑点的代码真机上还是有,这个地方减3是什么意思? toFill.PopulateUIVertex(ref vert, endIndex - 3); Vector3 pos = vert.position; for (int j = endIndex, m = endIndex - 3; j > m; j--) { toFill.PopulateUIVertex(ref vert, endIndex); vert.position = pos; toFill.SetUIVertex(vert, j); }
这个地方减3是说将后三个点,抹除掉~~ 还需要跟Unity版本有关,不同版本可能处理方式不同