Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Set(uint, uint)

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

Definition

public void Set(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

Equivalent to calling CompileSdkSpec.SetRelease. Unity writes the resulting
release
block with
major
as the
apiLevel
, and
minor
as the
minorApiLevel
when
minor
is greater than 0.