0
Answered

Get a Specific Color from a ColorBlock Output?

PROMC2000 4 years ago updated by Lazlo Bonin (Lead Developer) 4 years ago 3

Trying to get the normal color of a button from it's colorblock output and use that to set the color of a different object.  Button Get Colors has a colorblock output.  How do I seperate the colors in the block and pick one?

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):

All or most types contain Expose. That will reveal all public variables of a type. 

+2

Thank you and this worked although I had to go into the Tools>Bolt>Unit Options Wizard>Type Options and specifically add Color Block as a type.  Then I was able to find Expose Color Block.