TryRemoveComponent<T>()
Removes the attached component of type T, if one is attached.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public bool TryRemoveComponent<T>() where T : struct, IVisualElementComponent
Returns
Type | Description |
|---|---|
| bool | |