// open package from folder or .pak file static public IPackage OpenPackage(string path, string subPath) { PackageFactory factory = new PackageFactory(); return(factory.OpenPackage(GetBasedPath(path), subPath)); }