xlua.hotfix(CS.HotfixTest(CS.System.String),{
Test =function(self,str)print("Lua:"..str)end})
xlua.hotfix(CS.HotfixTest(CS.System.Int32),{
Test =function(self,int)print("Lua:"..int)end})
Unity Xlua之Hotfix热补丁 (二)一.属性和索引器替换属性固定的写法set_属性名称,get_属性名称索引器固定写法set_Item,Set_Item private int age; private int Age { get { return 0; } set { age = value; } }