internal static void Enable() { if (sIsEnabled) { return; } sIsEnabled = true; PlasticApp.InitializeIfNeeded(); if (!FindWorkspace.HasWorkspace(Application.dataPath)) { return; } EnableForWorkspace(); }
public static SettingsProvider CreateSettingsProvider() { if (CollabPlugin.IsEnabled()) { return(null); } if (!FindWorkspace.HasWorkspace(Application.dataPath)) { return(null); } PlasticProjectSettingsProvider provider = new PlasticProjectSettingsProvider( UnityConstants.PROJECT_SETTINGS_MENU_TITLE, SettingsScope.Project) { keywords = GetSearchKeywordsFromGUIContentProperties <Styles>() }; return(provider); }