Exemplo n.º 1
0
        public static void ImportPackageSilently(string packageName, object[] assetsItems)
        {
#if CS_P2F_NEW_NON_INTERACTIVE_LOGIC
            ImportPackageAssetsMethodInfo.Invoke(null, new object[] { packageName, assetsItems });
#else
            ImportPackageAssetsMethodInfo.Invoke(null, new object[] { packageName, assetsItems, false });
#endif
        }
Exemplo n.º 2
0
        public static void ImportPackageSilently(object[] assetsItems)
        {
#if !UNITY_5_3_PLUS
            ImportPackageStep2MethodInfo.Invoke(null, new object[] { assetsItems, false });
#else
            ImportPackageAssetsMethodInfo.Invoke(null, new object[] { assetsItems, false });
#endif
        }
Exemplo n.º 3
0
 public static void ImportPackageSilently(object[] assetsItems)
 {
     if (IsOlder53VersionAPI)
     {
         ImportPackageStep2MethodInfo.Invoke(null, new object[] { assetsItems, false });
     }
     else
     {
         ImportPackageAssetsMethodInfo.Invoke(null, new object[] { assetsItems, false });
     }
 }
Exemplo n.º 4
0
 public static void ImportPackageSilently(object[] assetsItems)
 {
     ImportPackageAssetsMethodInfo.Invoke(null, new object[] { assetsItems, false });
 }