Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetRelease(uint, uint)

Sets the version property to a release compile SDK version.
Read time 1 minuteLast updated 12 days ago

Definition

public void SetRelease(uint major, uint minor = 0)

Parameters

major

The major API level to compile your project against.

minor

The minor API level to compile your project against. Pass 0 to omit it.

Remarks

For more information about the element, see Android's documentation: release.
Unity writes
major
as the
apiLevel
of the
release
block in the Gradle file, and includes
minor
as the
minorApiLevel
only when
minor
is greater than 0.