IsState(States)
Determines if the version control state of the asset exactly matches the input state.
阅读时间1 分钟最后更新于 11 天前
Definition
- Type: Method
- Namespace: UnityEditor.VersionControl
- Assembly: UnityEditor.CoreModule
public bool IsState(Asset.States state)
Parameters
State to check for.
Returns
Type | Description |
|---|---|
| bool | True if the version control state of the asset exactly matches the input state. Otherwise, false. |