static void Update() { if (flag) { lock (_lock) { flag = false; } if (version.Length > 0 && version != VadRConfig.VERSION && htmlUrl.Length > 0) { UpdateWindow.Init(version, htmlUrl); } } }
static void CheckUpdate() { if (SdkUpdateCheck.version.Length > 0 && SdkUpdateCheck.version != VadRConfig.VERSION) { if (!UpdateWindow.Init(SdkUpdateCheck.version, SdkUpdateCheck.htmlUrl)) { UpdateWindow.ShowWindow(); } } else { EditorUtility.DisplayDialog("VadR VR Analytics", "Your VadR VR Analytics Plugin is up to date.", "Ok"); } }
public static void Init() { EditorWindow.GetWindow(typeof(MapCreatorWindow), false, "Tidy Tile Mapper", true); UpdateWindow.Init(); }