static public int constructor(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.LightBakingOutput o; o = new UnityEngine.LightBakingOutput(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
static public int constructor(IntPtr l) { try { UnityEngine.LightBakingOutput o; o = new UnityEngine.LightBakingOutput(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
public static int set_bakingOutput_wrap(long L) { try { long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L); Light ret = get_obj(nThisPtr); UnityEngine.LightBakingOutput arg0 = FCGetObj.GetObj <UnityEngine.LightBakingOutput>(FCLibHelper.fc_get_intptr(L, 0)); ret.bakingOutput = arg0; } catch (Exception e) { Debug.LogException(e); } return(0); }
static int set_bakingOutput(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.Light obj = (UnityEngine.Light)o; UnityEngine.LightBakingOutput arg0 = (UnityEngine.LightBakingOutput)ToLua.CheckObject(L, 2, typeof(UnityEngine.LightBakingOutput)); obj.bakingOutput = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index bakingOutput on a nil value" : e.Message)); } }
static int get_bakingOutput(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.Light obj = (UnityEngine.Light)o; UnityEngine.LightBakingOutput ret = obj.bakingOutput; ToLua.PushValue(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index bakingOutput on a nil value" : e.Message)); } }
static int set_bakingOutput(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.Light obj = (UnityEngine.Light)o; UnityEngine.LightBakingOutput arg0 = StackTraits <UnityEngine.LightBakingOutput> .Check(L, 2); obj.bakingOutput = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index bakingOutput on a nil value")); } }
static int get_bakingOutput(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("UnityEngine.Light.bakingOutput"); #endif object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.Light obj = (UnityEngine.Light)o; UnityEngine.LightBakingOutput ret = obj.bakingOutput; ToLua.PushValue(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index bakingOutput on a nil value")); } }
static int set_bakingOutput(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("UnityEngine.Light.bakingOutput"); #endif object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.Light obj = (UnityEngine.Light)o; UnityEngine.LightBakingOutput arg0 = StackTraits <UnityEngine.LightBakingOutput> .Check(L, 2); obj.bakingOutput = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index bakingOutput on a nil value")); } }
private extern void set_bakingOutput_Injected(ref LightBakingOutput value);
private extern void get_bakingOutput_Injected(out LightBakingOutput ret);