Ejemplo n.º 1
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
        }
Ejemplo n.º 2
0
 public static void ImportPackageSilently(object[] assetsItems)
 {
     if (IsOlder53VersionAPI)
     {
         ImportPackageStep2MethodInfo.Invoke(null, new object[] { assetsItems, false });
     }
     else
     {
         ImportPackageAssetsMethodInfo.Invoke(null, new object[] { assetsItems, false });
     }
 }