static int SetCurrentPercent(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UILabel obj = (UILabel)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UILabel"); obj.SetCurrentPercent(); return(0); }
static public int SetCurrentPercent(IntPtr l) { try { UILabel self = (UILabel)checkSelf(l); self.SetCurrentPercent(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int SetCurrentPercent(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UILabel obj = (UILabel)ToLua.CheckObject<UILabel>(L, 1); obj.SetCurrentPercent(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } }
public static int SetCurrentPercent(IntPtr l) { int result; try { UILabel uILabel = (UILabel)LuaObject.checkSelf(l); uILabel.SetCurrentPercent(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }