public static int GetCurrRenderSetting(IntPtr l) { int result; try { SceneManager sceneManager = (SceneManager)LuaObject.checkSelf(l); LayerRenderSettingDesc currRenderSetting = sceneManager.GetCurrRenderSetting(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, currRenderSetting); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetRenderSetting(IntPtr l) { int result; try { SceneLayerBase sceneLayerBase = (SceneLayerBase)LuaObject.checkSelf(l); LayerRenderSettingDesc renderSetting = sceneLayerBase.GetRenderSetting(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, renderSetting); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }