GooglePlayInstant/Editor/QuickDeploy/QuickDeployConfig.cs
/// <summary>
/// Store configuration from the current quick deploy tab to persistent storage.
/// </summary>
/// <exception cref="ArgumentOutOfRangeException">Thrown if tab shouldn't have input fields.</exception>
Store configuration from the current quick deploy tab to persistent storage.
Store configuration from the current quick deploy tab to persistent storage .
public void SaveConfiguration(QuickDeployWindow.ToolBarSelectedButton currentTab)
        {
            switch (currentTab)
            {
                case QuickDeployWindow.ToolBarSelectedButton.CreateBundle:
                    SaveEditorConfiguration(QuickDeployWindow.ToolBarSelectedButton.CreateBundle, EditorConfig,
                        EditorConfigurationFilePath);
                    break;
                case QuickDeployWindow.ToolBarSelectedButton.DeployBundle:
                    SaveEditorConfiguration(QuickDeployWindow.ToolBarSelectedButton.DeployBundle, EditorConfig,
                        EditorConfigurationFilePath);
                    break;
                case QuickDeployWindow.ToolBarSelectedButton.LoadingScreen:
                    SaveEngineConfiguration(QuickDeployWindow.ToolBarSelectedButton.LoadingScreen, EngineConfig,
                        EngineConfigurationFilePath);
                    break;
                default:
                    throw new ArgumentOutOfRangeException("currentTab", currentTab, "Can't save from this tab.");
            }
        }
public void SaveConfiguration ( QuickDeployWindow . ToolBarSelectedButton currentTab ) { switch ( currentTab ) { case QuickDeployWindow . ToolBarSelectedButton . CreateBundle : SaveEditorConfiguration ( QuickDeployWindow . ToolBarSelectedButton . CreateBundle , EditorConfig , EditorConfigurationFilePath ) ; break ; case QuickDeployWindow . ToolBarSelectedButton . DeployBundle : SaveEditorConfiguration ( QuickDeployWindow . ToolBarSelectedButton . DeployBundle , EditorConfig , EditorConfigurationFilePath ) ; break ; case QuickDeployWindow . ToolBarSelectedButton . LoadingScreen : SaveEngineConfiguration ( QuickDeployWindow . ToolBarSelectedButton . LoadingScreen , EngineConfig , EngineConfigurationFilePath ) ; break ; default : throw new ArgumentOutOfRangeException ( " " , currentTab , " " ) ; } }
Store configuration from the current quick deploy tab to persistent storage.
Store configuration from the current quick deploy tab to persistent storage .
Thrown if tab shouldn't have input fields.
Thrown if tab shouldn ' t have input fields .
currentTab
QuickDeployWindow.ToolBarSelectedButton