private void OnEnable()
        {
            _windowInstance = this;

            _installedVersion = UnityToolboxUtilities.GetUnityToolboxInstalledVersion();
            UnityToolboxUtilities.GetUnityToolboxLatestVersionAsync(version =>
            {
                _latestVersion = version;
                if (_windowInstance != null)
                {
                    _windowInstance.Repaint();
                }
            });
        }
 static UnityToolboxUpdateWindow()
 {
     if (AutoUpdateCheckIsEnabled)
     {
         UnityToolboxUtilities.GetUnityToolboxLatestVersionAsync(version =>
         {
             _installedVersion = UnityToolboxUtilities.GetUnityToolboxInstalledVersion();
             _latestVersion    = version;
             if (!_installedVersion.VersionsMatch(_latestVersion))
             {
                 var versions = "Installed version: " + _installedVersion.AsSting + ". Latest version: " + _latestVersion.AsSting;
                 Debug.Log("It's time to update UnityToolbox :)! Use \"Tools/UnityToolbox/Update UnityToolbox\". " + versions);
             }
         });
     }
 }