void OnCheckVersionSuccess() { if (!_api.isLatestVersion()) { SketchfabPlugin.DisplayVersionPopup(); } }
public void displayVersionInfo() { if (_api.getLatestVersion() == null) { SketchfabPlugin.showVersionChecking(); } else if (_api.getLatestVersion().Length == 0) { SketchfabPlugin.showVersionCheckError(); } else if (_api.isLatestVersion()) { SketchfabPlugin.showUpToDate(_api.getLatestVersion()); } else { SketchfabPlugin.showOutdatedVersionWarning(_api.getLatestVersion()); } }