Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Toggle.UxmlTraits

Defines UxmlTraits for the Toggle.
Read time 1 minuteLast updated 13 days ago

Definition

Warning
Deprecated. UxmlTraits is deprecated and will be removed. Use UxmlElementAttribute instead.
public class Toggle.UxmlTraits : BaseFieldTraits<bool, UxmlBoolAttributeDescription>

Methods

Method

Description

InitInitializes Toggle properties using values from the attribute bag.

Inheritance