uncleciba

Results 4 issues of uncleciba

测试代码: function ArrayTest(obj1, obj2) Debugger.Log("table.move test") local a1 = {} a1[1] = obj1 a1[2] = obj2 a2 = {} table.move(a1, 1, #a1, 1, a2) Debugger.Log("table.move test end:" .. #a2) end...

以前在unity2018上用的很好,2019出现严重问题: 2019的unity中,OnPopulateMesh(VertexHelper toFill)方法的toFill内容发生变化。 2018中,toFill里vertex的个数是原始字符串的4倍,例如,原始字符串是123,vertex就有10*4个。 2019中,vertex只有4*4个,也就是“翻译”后实际的顶点个数 而目前quad位置的对应算法是:tempIndex = _textBuilder.Length * 4; 是按原始字符串长度算了。 这导致后续的顶点处理都出现了错误。

测试代码: function ArrayTest(obj1, obj2) Debugger.Log("table.move test") local a1 = {} a1[1] = obj1 a1[2] = obj2 a2 = {} table.move(a1, 1, #a1, 1, a2) Debugger.Log("table.move test end:" .. #a2) end...

CSharpLua.BugErrorException: SourceLocation(/Users/yz/workspace/Work/U3D/SpacePro/Assets/Code2Lua/Logic/Game/Mine/MineSystem.cs@10:1)"public class MineSystem : MonoBehaviour { public static MineSystem instance; public const string gameType = "Mine"; public static Action onRefresh; public static Action onUpdate; public static Action onRefreshComplete; public...