文档

Unity Engine

Unity Engine

GetRevision()

Gets the current revision number of the build history.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static int GetRevision()

Returns

Type

Description

intThe revision number, which increments each time a build is added or removed.

Remarks

UI can cache this value to efficiently detect when a refresh is needed.