LedBoardElementBinder
public sealed class LedBoardElementBinder : MonoBehaviourBinds an authoritative scene LedBoardController to one named
LedBoardElement in a runtime UI Toolkit panel.
Remarks
Section titled “Remarks”The panel host is a UnityEngine.UIElements.UIDocument or, on Unity 6.5 or newer, a PanelRenderer.
Methods
Section titled “Methods”
Bind()
Section titled “Bind()”public void Bind()Resolves the configured panel, board, and named LED element, then connects the element to the board's runtime controls.
Remarks
An existing binding is cleared when the panel, board, or element cannot be resolved unambiguously.
Unbind()
Section titled “Unbind()”public void Unbind()Disconnects the resolved LED element when it is still bound to this component's board.
Constructors
Section titled “Constructors”
LedBoardElementBinder()
Section titled “LedBoardElementBinder()”public LedBoardElementBinder()Properties
Section titled “Properties”
BoundElement
Section titled “BoundElement”public LedBoardElement BoundElement { get; }Returns
LEDStudio.LedBoardElement
UIPanel
Section titled “UIPanel”public Component UIPanel { get; set; }Panel host that contains the target element: a UnityEngine.UIElements.UIDocument or, on Unity 6.5 or newer, a PanelRenderer.
When null, the panel host on this GameObject is used.
Returns
UnityEngine.Component
ResolvedUIPanel
Section titled “ResolvedUIPanel”public Component ResolvedUIPanel { get; }The assigned panel host, or the panel host on this GameObject when none is assigned.
Returns
UnityEngine.Component
public LedBoardController Board { get; set; }Returns
LEDStudio.LedBoardController
ElementName
Section titled “ElementName”public string ElementName { get; set; }Returns
System.String