コード例 #1
0
 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
 }
コード例 #2
0
 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));
     }
 }
コード例 #3
0
 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);
 }
コード例 #4
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));
        }
    }
コード例 #5
0
    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));
        }
    }
コード例 #6
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 = 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"));
        }
    }
コード例 #7
0
    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"));
        }
    }
コード例 #8
0
    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"));
        }
    }
コード例 #9
0
 private extern void set_bakingOutput_Injected(ref LightBakingOutput value);
コード例 #10
0
 private extern void get_bakingOutput_Injected(out LightBakingOutput ret);