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