static public int UpdateGIMaterials(IntPtr l) { try { UnityEngine.Renderer self = (UnityEngine.Renderer)checkSelf(l); self.UpdateGIMaterials(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int _m_UpdateGIMaterials(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.Renderer __cl_gen_to_be_invoked = (UnityEngine.Renderer)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.UpdateGIMaterials( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }