Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetClasses()

Retrieve the classes for this element.
Read time 1 minuteLast updated 4 days ago

Definition

public IEnumerable<string> GetClasses()

Returns

Type

Description

IEnumerable<string>A class list.

Remarks

The order of the classes will always be the same between two elements that have the same classes. However, the ordering of the classes for a given element is not guaranteed to match between executions or after a domain reload.