internal static string[] CollectAllChildren(string guid, string[] collection) { List <string> strs = new List <string>() { "UnityEditor.AssetDatabase.CollectAllChildren", "UnityEditor.AssetServer.CollectAllChildren" }; return((string[])BackwardsCompatibilityUtility.TryStaticInvoke(strs, new object[] { guid, collection })); }
internal static void ExportPackage(string[] guids, string fileName, bool needsPackageManagerManifest) { List <string> strs = new List <string>(); if (needsPackageManagerManifest) { strs.Add("UnityEditor.PackageUtility.ExportPackageAndPackageManagerManifest"); } strs.Add("UnityEditor.PackageUtility.ExportPackage"); strs.Add("UnityEditor.AssetServer.ExportPackage"); BackwardsCompatibilityUtility.TryStaticInvoke(strs, new object[] { guids, fileName }); }
internal static void ExportPackage(string[] guids, string fileName) { List <string> methods = new List <string> { "UnityEditor.PackageUtility.ExportPackage", "UnityEditor.AssetServer.ExportPackage" }; object[] parameters = new object[] { guids, fileName }; BackwardsCompatibilityUtility.TryStaticInvoke(methods, parameters); }