Add pre and post export setup name env variable settings #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BuildEditorSettingsData.PreExportSetupNameEnvironmentVariable
property to define environment variable with setup name for pre export execution.BuildEditorSettingsData.PostExportSetupNameEnvironmentVariable
property to define environment variable with setup name for post export execution.BuildEditorUtility.ExecutePreExport()
andPostExport()
methods used to execute setup from environment variables and specified context.BuildEditorUtility.TryGetSetupNameFromEnvironmentVariables()
andGetSetupNameFromEnvironmentVariables()
methods to require environment variable name to get setup name from.UnityCloudBuild.PreExport()
andPostExport()
methods create context with Unity Cloud Build manifest included.BuildEditorSettingsData.SetupNameEnvironmentVariableName
property, usePreExportSetupNameEnvironmentVariable
andPostExportSetupNameEnvironmentVariable
properties instead.BuildEditorUtility.Execute()
method with zero arguments.UnityCloudBuildEditorUtility.Execute()
method.