文档

Unity Engine

Unity Engine

AcceptsAttributeBag(IUxmlAttributes, CreationContext)

Returns true.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
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.