Beispiel #1
0
 static int SetTextColor(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.SetTextColor(arg0, arg1, arg2, arg3);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }