public static bool GetUnityPackage(string directoryPath, out Utility_PackageJson package) { package = null; string filePath = GetPackagePath(directoryPath); if (File.Exists(filePath)) { package = Utility_PackageJson.CreateFromFile(filePath); } return(package != null); }
public static Utility_PackageJson GetPackageInfo(string packagePath) { return(Utility_PackageJson.CreateFromFile(packagePath)); }