Documentation

Unity Engine

Unity Engine

AcceptsAttributeBag(IUxmlAttributes, CreationContext)

Returns true.
Read time 1 minuteLast updated a month ago

Definition

Warning
Deprecated. BaseUxmlFactory<TCreatedType, TTraits> is deprecated and will be removed. Use UxmlElementAttribute instead.
public virtual bool AcceptsAttributeBag(IUxmlAttributes bag, CreationContext cc)

Parameters

The attribute bag.

Returns

Type

Description

boolAlways true.

Remarks

By default, accepts any attribute bags. Override this function if you want to make specific checks on the attribute bag.