示例#1
0
    public static void CheckItNow()
    {
        if (Directory.Exists("Assets/Plugins/UnityPurchasing/Bin"))
        {
            EditorUpdate.AddDefine("IAP", EditorUserBuildSettings.selectedBuildTargetGroup);

            if (Instance != null)
            {
                Instance.Close();
            }
        }
        else
        {
            OpenWelcomeWindow();
        }
    }
示例#2
0
    public static void CheckItNow()
    {
        if (Directory.Exists("Assets/Plugins/UnityPurchasing/Bin"))
        {
            SetScriptingDefineSymbols();

            if (Instance != null)
            {
                Instance.Close();
            }
        }
        else
        {
            OpenWelcomeWindow();
        }

        EditorApplication.update -= CheckItNow;
    }