/// <summary> /// GUI for Build Config. /// </summary> void DrawBuildConfig() { GUI.changed = false; _buildConfig = (PluginBuildConfig)EditorGUILayout.EnumPopup("Build Local", _buildConfig, GUILayout.MaxWidth(250f)); if (GUI.changed) { PluginConfigHelper.CurrentBuildConfig = (int)_buildConfig; } GUILayout.Space(10f); }
/// <summary> /// GUI for Build Config. /// </summary> void DrawBuildConfig() { GUI.changed = false; _buildConfig = (PluginBuildConfig)EditorGUILayout.EnumPopup("Build Local", _buildConfig, GUILayout.MaxWidth(250f)); if (GUI.changed) { PluginConfigHelper.CurrentBuildConfig = (int)_buildConfig; } GUILayout.Space(10f); }
void OnEnable() { PluginConfigHelper.SearchVSCommonToolsDir(); _pluginSource = (PluginSource)PluginConfigHelper.CurrentPluginSource; _buildConfig = (PluginBuildConfig)PluginConfigHelper.CurrentBuildConfig; _winLegacyDir = PluginConfigHelper.WinLegacyDir; _winIntegrationDir = PluginConfigHelper.WinIntegrationDir; _nugetDir = PluginConfigHelper.BuildScriptsDir; _vsCommonToolDir = PluginConfigHelper.VSCommonToolDir; }
void OnEnable() { PluginConfigHelper.SearchVSCommonToolsDir(); _pluginSource = (PluginSource)PluginConfigHelper.CurrentPluginSource; _buildConfig = (PluginBuildConfig)PluginConfigHelper.CurrentBuildConfig; _winLegacyDir = PluginConfigHelper.WinLegacyDir; _winIntegrationDir = PluginConfigHelper.WinIntegrationDir; _nugetDir = PluginConfigHelper.BuildScriptsDir; _vsCommonToolDir = PluginConfigHelper.VSCommonToolDir; }