Added a description, added field descriptions, added usage description. This is no longer a stub.
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=ButtonReferenceCycle`1Component.png
|Image=ButtonReferenceCycle`1Component.png
|Name=Button Reference Cycle`1
|Name=Button Reference Cycle`1
}}
}}
The '''ButtonReferenceCycle''' component holds a list of [[Reference Types|references]] and takes in a <code>TargetReference</code> of a provided type. When an [[Type:IButton|IButton]] is pressed while this component is on it, this will cycle through the listed references and send the data through the <code>TargetReference</code>.
Button Reference Cycle`1 component as seen in the Scene Inspector
The ButtonReferenceCycle component holds a list of references and takes in a TargetReference of a provided type. When an IButton is pressed while this component is on it, this will cycle through the listed references and send the data through the TargetReference.