static public int set_content(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.Profiling.Memory.Experimental.MetaData self = (UnityEngine.Profiling.Memory.Experimental.MetaData)checkSelf(l);
         System.String v;
         checkType(l, 2, out v);
         self.content = v;
         pushValue(l, true);
         return(1);
     }
     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 {
                     #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.Profiling.Memory.Experimental.MetaData o;
         o = new UnityEngine.Profiling.Memory.Experimental.MetaData();
         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
 }
Beispiel #3
0
 static public int get_screenshot(IntPtr l)
 {
     try {
         UnityEngine.Profiling.Memory.Experimental.MetaData self = (UnityEngine.Profiling.Memory.Experimental.MetaData)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.screenshot);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #4
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.Profiling.Memory.Experimental.MetaData o;
         o = new UnityEngine.Profiling.Memory.Experimental.MetaData();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #5
0
 static public int set_platform(IntPtr l)
 {
     try {
         UnityEngine.Profiling.Memory.Experimental.MetaData self = (UnityEngine.Profiling.Memory.Experimental.MetaData)checkSelf(l);
         System.String v;
         checkType(l, 2, out v);
         self.platform = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #6
0
 static public int set_screenshot(IntPtr l)
 {
     try {
         UnityEngine.Profiling.Memory.Experimental.MetaData self = (UnityEngine.Profiling.Memory.Experimental.MetaData)checkSelf(l);
         UnityEngine.Texture2D v;
         checkType(l, 2, out v);
         self.screenshot = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }