文档

Unity Engine

Unity Engine

IsOneOfStates(States[])

Determines if the version control state of the assets is one of the input states.
阅读时间1 分钟最后更新于 11 天前

Definition

public bool IsOneOfStates(Asset.States[] states)

Parameters

states

Array of states to test for.

Returns

Type

Description

boolTrue if the version control state of the asset matches one of the input states. Otherwise, false.