摘要:
xlua.hotfix(ClsType, "Method", function(self, a, b) if type(a) == "userdata" then if a:GetType() == CS.A.UnderlyingSystemType then print("A hotfix") e 阅读全文
posted @ 2023-12-22 11:51
mc宇少
阅读(24)
评论(0)
推荐(0)
摘要:
泛型函数只能针对指定类型进行修复public class Test{public void Add(T n1, T n2){Debug.Log(“Add”); }}xlua.hotfix(CS.Test(CS.System.Int32), “Add”, function(self, a,b)prin 阅读全文
posted @ 2023-12-22 11:42
mc宇少
阅读(22)
评论(0)
推荐(0)

浙公网安备 33010602011771号