Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

VisualElement.ClassListContains

Declaration

public bool ClassListContains(string cls);

Parameters

cls The name of the class for the search query.

Returns

bool Returns true if the class is part of the list. Otherwise, returns false.

Description

Searches for a class in the class list of this element.