LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Asset.IsOneOfStates

public bool IsOneOfStates(States[] states);

Parameters

statesArray of states to test for.

Description

Returns true if the version control state of the assets is one of the input states.