/// Get build settings data when the window is enabled
 void OnEnable()
 {
     if (m_buildSettings == null)
     {
         m_buildSettings = new BuildSettingsGroup();
         m_buildSettings.LoadFromFile();
     }
 }
    /// Get build settings data when the window is enabled
    void OnEnable()
    {
        if (m_buildSettings == null)
        {
            m_buildSettings = new BuildSettingsGroup();
            m_buildSettings.LoadFromFile();

            m_newBuildSettingName = "";
            m_defineToAdd = "";
        }
    }
Esempio n. 3
0
 /// Get the build settings name to apply from the command line input and apply it
 private static void ApplyBuildSettingsFromCommandLine(BuildTargetGroup buildTarget)
 {
     string buildSettingsName = GetCommandLineParameter(kCommandLineParameterBuildSettingsName);
     BuildSettingsGroup buildSettings = new BuildSettingsGroup();
     buildSettings.LoadFromFile();
     buildSettings.ApplyBuildSettings(buildSettingsName, buildTarget);
 }