GetRevision()
Gets the current revision number of the build history.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Build
- Assembly: UnityEditor.CoreModule
public static int GetRevision()
Returns
Type | Description |
|---|---|
| int | The 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.