static int ComposeSkill(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); SkillMgr obj = (SkillMgr)LuaScriptMgr.GetUnityObjectSelf(L, 1, "SkillMgr"); SkillItem arg0 = (SkillItem)LuaScriptMgr.GetNetObject(L, 2, typeof(SkillItem)); SkillItem o = obj.ComposeSkill(arg0); LuaScriptMgr.PushObject(L, o); return(1); }