UnityOptions

constructor(splashMode: Int = 0, splashEnable: Boolean = false, buildId: String = "", version: String = "", notchConfig: String = "", ndkVersion: String = "", ndkPath: String = "", platforms: List<PlatformArch> = emptyList(), configuration: Configuration = Configuration.Debug, streamingAssets: List<String> = emptyList(), exportedProjectLocation: String = "", libraryName: String = "unityLibrary", exportFolder: String = "")

Parameters

splashMode

The splash mode to use. This can be one of the following values:

  • 0: No splash.

  • 1: Use the Unity logo as the splash.

  • 2: Use a custom splash image.

splashEnable

Whether to enable the splash screen.

buildId

The build ID.

version

The version of the Unity project.

notchConfig

The notch configuration. This can be one of the following values:

  • "none": No notch.

  • "left": Notch on the left.

  • "right": Notch on the right.

  • "both": Notch on both sides.

ndkVersion

The version of the NDK to use.

ndkPath

The path to the NDK.

platforms

The list of platforms to build for.

configuration

The build configuration. This can be one of the following values:

  • "Debug": Build a debug configuration.

  • "Release": Build a release configuration.

streamingAssets

The list of streaming assets to include in the build.

exportFolder

The folder to export the build to.

libraryName

The name of the library to create.