Google.Android.AppBundle.Editor.AndroidAppBundle

Provides utilities related to Android App Bundle.

Summary

Public attributes

BaseModuleName = "base"
const string
The base module contains the Unity game engine.

Public static functions

DisableNativeBuild()
void
Disable the EditorUserBuildSettings.buildAppBundle field if it is defined.
EnableNativeBuild()
void
Enable the EditorUserBuildSettings.buildAppBundle field if it is defined.
HasNativeBuildSupport()
bool
Returns true if this version of the Unity Editor has native support for building an Android App Bundle, and false otherwise.
IsNativeBuildEnabled()
bool
Returns EditorUserBuildSettings.buildAppBundle if it is defined and false otherwise.
IsValidModuleName(string name)
bool
Returns true if the specified name is a valid Android App Bundle module name, false otherwise.

Public attributes

BaseModuleName

const string BaseModuleName = "base"

The base module contains the Unity game engine.

Public static functions

DisableNativeBuild

void DisableNativeBuild()

Disable the EditorUserBuildSettings.buildAppBundle field if it is defined.

EnableNativeBuild

void EnableNativeBuild()

Enable the EditorUserBuildSettings.buildAppBundle field if it is defined.

HasNativeBuildSupport

bool HasNativeBuildSupport()

Returns true if this version of the Unity Editor has native support for building an Android App Bundle, and false otherwise.

IsNativeBuildEnabled

bool IsNativeBuildEnabled()

Returns EditorUserBuildSettings.buildAppBundle if it is defined and false otherwise.

IsValidModuleName

bool IsValidModuleName(
  string name
)

Returns true if the specified name is a valid Android App Bundle module name, false otherwise.

The name "base" is reserved for the base module, so also return false in that case.