Skip to content

Scripts.DisplayBasedOn

Wesley Haws edited this page Jan 2, 2017 · 2 revisions

##Scripts - DisplayBasedOn

###What does this do?


Has this gameobjects UIText component mimic a target UIText components fill and alpha.

###Who/What is this for?


Specifically for GUI > Conditionals > ScrollUI > Close Button and GUI > Conditionals > ScrollUI > Close Hint. However, this will work with any object containing a UIText component.

###Setup


Parameter Type Description
Based On Object GameObject Modifieds this objects UIText component to mimics the selected objects UIText components fill amount and/or color alpha amount.
Mimic Fill Amount bool Will copy the "Based On Object"s fill amount.
Mimic Alpha bool Will copy the "Based On Object"s color alpha level.
Clone this wiki locally