-
Notifications
You must be signed in to change notification settings - Fork 24
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. |
The following is a list of github repositories that made all of this possible:
delta patches: https://github.com/OctopusDeploy/Octodiff
.net 4 implemented in Monodevelop: https://github.com/mono/mono
Tuples In Unity: https://gist.github.com/michaelbartnett/5652076
Octodiff: https://github.com/OctopusDeploy/Octodiff
Input Manager: https://github.com/daemon3000/InputManager