private static int IsPlayAnimation(IntPtr L)
    {
        int result;

        try
        {
            ToLua.CheckArgsCount(L, 1);
            PrefabLoader prefabLoader = (PrefabLoader)ToLua.CheckObject(L, 1, typeof(PrefabLoader));
            bool         value        = prefabLoader.IsPlayAnimation();
            LuaDLL.lua_pushboolean(L, value);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaDLL.toluaL_exception(L, e, null);
        }
        return(result);
    }