public void Execute() { var path = Application.dataPath.Replace("Assets", mPackageRepository.installPath); if (Directory.Exists(path)) { Directory.Delete(path, true); } RenderEndCommandExecuter.PushCommand(() => { AssetDatabase.Refresh(); PackageApplication.Container.Resolve <PackageKitWindow>().Close(); InstallPackage.Do(mPackageRepository); }); }
public void Execute() { PackageApplication.Container.Resolve <PackageKitWindow>().Close(); InstallPackage.Do(mPackageRepository); }