Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToString()

Formats this Android SDK version as a string.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public override string ToString()

Returns

Type

Description

stringThe version string in
Major.Minor
format if
Minor
is greater than 0,
Major
format otherwise, or the string "AndroidApiLevelAuto" for AndroidSdkVersionFull.AndroidApiLevelAuto.

Remarks

Unity uses this format, for example
36.1
or
36
, when writing a compile SDK version to a Gradle file through CompileSdkSpec.