This is no longer a stub. Updated the description, added a usage description, added field descriptions.
(One intermediate revision by one other user not shown)
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=ButtonReferenceSet`1Component.png
|Image=ButtonReferenceSet`1Component.png
|Name=Button Reference Set`1
|Name=Button Reference Set`1
}}
}}
The '''ButtonReferenceSet''' component takes in a [[Reference Type]] and a <code>TargetReference</code>. When an [[Type:IButton|IButton]] is pressed while this component is on the same [[Slot|slot]], this will send the reference to the provided <code>TargetReference</code>.
Button Reference Set`1 component as seen in the Scene Inspector
The ButtonReferenceSet component takes in a Reference Type and a TargetReference. When an IButton is pressed while this component is on the same slot, this will send the reference to the provided TargetReference.