Example #1
0
    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);
    }
Example #2
0
 public static Utility_PackageJson GetPackageInfo(string packagePath)
 {
     return(Utility_PackageJson.CreateFromFile(packagePath));
 }