public void DrawControlPanel(Rect bounds, UFramePackage package) { if (GUI.Button(bounds, "Uninstall")) { InvertApplication.ExecuteInBackground(new QueueRevisionForUninstallCommand() { Package = package }); } }
public UFramePackageDescriptor GetPackageDescriptorByPackage(UFramePackage package) { return GetPackageDescriptorById(package.Id); }