static public int RemoveCommandBuffers(IntPtr l) { try { UnityEngine.Light self = (UnityEngine.Light)checkSelf(l); UnityEngine.Rendering.LightEvent a1; checkEnum(l, 2, out a1); self.RemoveCommandBuffers(a1); return(0); } catch (Exception e) { return(error(l, e)); } }
static int RemoveCommandBuffers(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.Light obj = (UnityEngine.Light)ToLua.CheckObject(L, 1, typeof(UnityEngine.Light)); UnityEngine.Rendering.LightEvent arg0 = (UnityEngine.Rendering.LightEvent)ToLua.CheckObject(L, 2, typeof(UnityEngine.Rendering.LightEvent)); obj.RemoveCommandBuffers(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public static int RemoveCommandBuffers_wrap(long L) { try { long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L); UnityEngine.Light obj = get_obj(nThisPtr); UnityEngine.Rendering.LightEvent arg0 = (UnityEngine.Rendering.LightEvent)(FCLibHelper.fc_get_int(L, 0)); obj.RemoveCommandBuffers(arg0); } catch (Exception e) { Debug.LogException(e); } return(0); }
static int RemoveCommandBuffers(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("UnityEngine.Light.RemoveCommandBuffers"); #endif try { ToLua.CheckArgsCount(L, 2); UnityEngine.Light obj = (UnityEngine.Light)ToLua.CheckObject(L, 1, typeof(UnityEngine.Light)); UnityEngine.Rendering.LightEvent arg0 = (UnityEngine.Rendering.LightEvent)ToLua.CheckObject(L, 2, typeof(UnityEngine.Rendering.LightEvent)); obj.RemoveCommandBuffers(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }