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
void AddScriptingDefineSymbol( string symbol )
Adds the specified scripting define symbol for Android, but only if it isn't already defined.
CreateBuildPlayerOptions
BuildPlayerOptions CreateBuildPlayerOptions( string locationPathName )
Creates a BuildPlayerOptions for the specified output file path with all other fields set to reasonable default values.
Details | |||
---|---|---|---|
Parameters |
|
||
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
bool IsScriptingSymbolDefined( string symbol )
Returns true if the specified scripting symbol is defined for Android.
RemoveScriptingDefineSymbol
void RemoveScriptingDefineSymbol( string symbol )
Removes the specified scripting define symbol if it exists.