This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

UxmlFactory<T0,T1>.AcceptsAttributeBag

Obsolete Call or override AcceptsAttributeBag(IUxmlAttributes bag, CreationContext cc) instaed.

Declaration

public bool AcceptsAttributeBag(Experimental.UIElements.IUxmlAttributes bag);

Parameters

bag The attribute bag.

Returns

bool Always true.

Description

Returns true.

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