Google.Android.AppBundle.Editor.AndroidBuildHelper
Provides helper methods for accessing or persisting build-related settings.
Summary
Public static functions |
|
|---|---|
AddScriptingDefineSymbol(string symbol)
|
void
Adds the specified scripting define symbol for Android, but only if it isn't already defined.
|
CreateBuildPlayerOptions(string locationPathName)
|
BuildPlayerOptions
Creates a BuildPlayerOptions for the specified output file path with all other fields set to reasonable default values.
|
GetEditorBuildEnabledScenes()
|
string[]
Returns an array of enabled scenes from the "Scenes In Build" section of Unity's Build Settings window.
|
IsScriptingSymbolDefined(string symbol)
|
bool
Returns true if the specified scripting symbol is defined for Android.
|
RemoveScriptingDefineSymbol(string symbol)
|
void
Removes the specified scripting define symbol if it exists.
|
Public static functions
AddScriptingDefineSymbol
voidAddScriptingDefineSymbol( stringsymbol )
Adds the specified scripting define symbol for Android, but only if it isn't already defined.
CreateBuildPlayerOptions
BuildPlayerOptionsCreateBuildPlayerOptions( stringlocationPathName )
Creates a BuildPlayerOptions for the specified output file path with all other fields set to reasonable default values.
| Details | |
|---|---|
| Parameters |
locationPathName
The output file that will be created when building a player with BuildPipeline.
|
| Returns |
A new BuildPlayerOptions object.
|
GetEditorBuildEnabledScenes
string[]GetEditorBuildEnabledScenes()
Returns an array of enabled scenes from the "Scenes In Build" section of Unity's Build Settings window.
IsScriptingSymbolDefined
boolIsScriptingSymbolDefined( stringsymbol )
Returns true if the specified scripting symbol is defined for Android.
RemoveScriptingDefineSymbol
voidRemoveScriptingDefineSymbol( stringsymbol )
Removes the specified scripting define symbol if it exists.