private void UpdateApplication()
    {
        switch (InstallerType)
        {
        case "Install":
            _ActionText.text = "Installed";
            InstallProgram(_SoftwareCenter.GetViewingApp());
            break;

        case "Uninstall":
            _ActionText.text = "Uninstalled";
            UninstallProgram(_SoftwareCenter.GetViewingApp());
            break;
            // TODO: Implement Purchasing
        }
    }
Пример #2
0
 private void Awake()
 {
     _App = _SoftwareCenter.GetViewingApp();
     SetupDisplay();
 }