static int SetAnimationRate(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         WCG.UIMgr             obj  = (WCG.UIMgr)ToLua.CheckObject <WCG.UIMgr>(L, 1);
         UnityEngine.Animation arg0 = (UnityEngine.Animation)ToLua.CheckObject(L, 2, typeof(UnityEngine.Animation));
         string arg1 = ToLua.CheckString(L, 3);
         float  arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
         obj.SetAnimationRate(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }