Method AttachTo
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
AttachTo(VisualElement)
Adds Sheet to root's UnityEngine.UIElements.VisualElement.styleSheets.
Attach to the element whose subtree needs the utilities — a panel root covers everything under
it. Attaching twice is harmless.
public static void AttachTo(VisualElement root)
Parameters
rootVisualElement