LedBoardElementBinder
[ExecuteAlways][DisallowMultipleComponent][AddComponentMenu("LED Studio/UI Toolkit LED Board Binder")]public sealed class LedBoardElementBinder : MonoBehaviourBinds an authoritative scene LEDStudio.LedBoardController to one named LEDStudio.LedBoardElement in a UI Toolkit document.
Methods
Section titled “Methods”
Bind()
Section titled “Bind()”public void Bind()Resolves the configured document, board, and named LED element, then connects the element to the board’s runtime controls.
Remarks
An existing binding is cleared when the document, 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
Document
Section titled “Document”public UIDocument Document { get; set; }Returns
UnityEngine.UIElements.UIDocument
public LedBoardController Board { get; set; }Returns
LEDStudio.LedBoardController
ElementName
Section titled “ElementName”public string ElementName { get; set; }Returns
System.String