static int ForbidSkillBtn(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); SkillButton obj = (SkillButton)LuaScriptMgr.GetUnityObjectSelf(L, 1, "SkillButton"); obj.ForbidSkillBtn(); return(0); }