示例#1
0
 static public int constructor(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         UnityEngine.PropertyName o;
         if (matchType(l, argc, 2, typeof(string)))
         {
             System.String a1;
             checkType(l, 2, out a1);
             o = new UnityEngine.PropertyName(a1);
             pushValue(l, true);
             pushValue(l, o);
             return(2);
         }
         else if (matchType(l, argc, 2, typeof(UnityEngine.PropertyName)))
         {
             UnityEngine.PropertyName a1;
             checkValueType(l, 2, out a1);
             o = new UnityEngine.PropertyName(a1);
             pushValue(l, true);
             pushValue(l, o);
             return(2);
         }
         else if (matchType(l, argc, 2, typeof(int)))
         {
             System.Int32 a1;
             checkType(l, 2, out a1);
             o = new UnityEngine.PropertyName(a1);
             pushValue(l, true);
             pushValue(l, o);
             return(2);
         }
         return(error(l, "New object failed."));
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
 public Boolean UnityEngine.PropertyName::op_Inequality(UnityEngine.PropertyName,UnityEngine.PropertyName)
示例#3
0
 public Void UnityEngine.PropertyName::.ctor(UnityEngine.PropertyName)
 Void UnityEngine.PropertyName::.ctorInt32)
示例#4
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
         int argc = LuaDLL.lua_gettop(l);
         UnityEngine.PropertyName o;
         if (matchType(l, argc, 2, typeof(string)))
         {
             System.String a1;
             checkType(l, 2, out a1);
             o = new UnityEngine.PropertyName(a1);
             pushValue(l, true);
             pushValue(l, o);
             return(2);
         }
         else if (matchType(l, argc, 2, typeof(UnityEngine.PropertyName)))
         {
             UnityEngine.PropertyName a1;
             checkValueType(l, 2, out a1);
             o = new UnityEngine.PropertyName(a1);
             pushValue(l, true);
             pushValue(l, o);
             return(2);
         }
         else if (matchType(l, argc, 2, typeof(int)))
         {
             System.Int32 a1;
             checkType(l, 2, out a1);
             o = new UnityEngine.PropertyName(a1);
             pushValue(l, true);
             pushValue(l, o);
             return(2);
         }
         else if (argc == 0)
         {
             o = new UnityEngine.PropertyName();
             pushValue(l, true);
             pushObject(l, o);
             return(2);
         }
         return(error(l, "New object failed."));
     }
     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
 }
示例#5
0
        public static PropertyName PropertyNameFromString([Unmarshalled] /* 0x00000001800D4E50-0x00000001800D4E60 */ string name) => default; // 0x00000001809408D0-0x0000000180940980

        private static void PropertyNameFromString_Injected(string name, out PropertyName ret)
        {
            ret = default;
        }         // 0x0000000180940880-0x00000001809408D0
示例#6
0
 public extern static string StringFromPropertyName(PropertyName propertyName);