UICanvas.FindByName Method
Definition
Namespace: Brine2D.UI
| Overloads | |
|---|---|
| FindByName\(string\) | Searches all components \(including nested children\) for the first one whose Name matches name. Returns null if not found. |
| FindByName<T>\(string\) | Typed overload — returns the first component with the given name that is assignable to T, or null. |
UICanvas.FindByName\(string\) Method
Searches all components \(including nested children\) for the first one whose
Name matches name.
Returns null if not found.
Parameters
name System.String
Returns
UICanvas.FindByName\<T>\(string\) Method
Typed overload — returns the first component with the given name
that is assignable to T, or null.
Type parameters
T
Parameters
name System.String