文档

Unity Engine

Unity Engine

GetClassNames()

Retrieve the classes for this element.
阅读时间1 分钟最后更新于 1 个月前

Definition

public IEnumerable<UniqueStyleString> GetClassNames()

Returns

Type

Description

IEnumerable<UniqueStyleString>A class list.

Remarks

The order of the classes will always be the same between two elements that have the same classes. The returned classes are ordered by corresponding UniqueStyleString id. This implies that for a given element the order is not guaranteed to match between executions or after a domain reload, depending on the creation order of the UniqueStyleStrings involved.