When creating a custom element and its UxmlTraits, you can use classes such as UxmlStringAttributeDescription to define custom attributes. But the *AttributeDescription classes are limited to a small set of mostly primitive types such as string or int.
How do we define a Texture2D or a Sprite attribute?