// If force is FALSE opens the window only if DOTween's version has changed
        // (set to FALSE by OnPostprocessAllAssets).<para/>
        // NOTE: this is also called via Reflection by UpgradeWindow
        public static void Open()
        {
            DOTweenUtilityWindow window = EditorWindow.GetWindow <DOTweenUtilityWindow>(true, _Title, true);

            window.minSize = _WinSize;
            window.maxSize = _WinSize;
            window.ShowUtility();
            EditorPrefs.SetString(Id, DOTween.Version);
            EditorPrefs.SetString(IdPro, EditorUtils.proVersion);
        }
Beispiel #2
0
        public static void Open()
        {
            DOTweenUtilityWindow window = EditorWindow.GetWindow <DOTweenUtilityWindow>(true, "DOTween Utility Panel", true);

            window.minSize = DOTweenUtilityWindow._WinSize;
            window.maxSize = DOTweenUtilityWindow._WinSize;
            window.ShowUtility();
            EditorPrefs.SetString("DOTweenVersion", DOTween.Version);
            EditorPrefs.SetString("DOTweenProVersion", EditorUtils.proVersion);
        }