static int SetImageColor(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); UnityEngine.Transform arg0 = (UnityEngine.Transform)ToLua.CheckUnityObject(L, 1, typeof(UnityEngine.Transform)); byte arg1 = (byte)LuaDLL.luaL_checknumber(L, 2); byte arg2 = (byte)LuaDLL.luaL_checknumber(L, 3); byte arg3 = (byte)LuaDLL.luaL_checknumber(L, 4); UIAPI.SetImageColor(arg0, arg1, arg2, arg3); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }