Where's best to set child attributes, like button colour?


#1

Hi all, this is my first post. I just got to this section and to be honest it took me about 10 minutes to get my head around how the button text colour on the menu we make worked - that it inherits from the object it’s attached to, and overlays it. By the time I’d worked out what was happening, my solution was to set the colour of the text in the text asset options and apply shading to it in the button component options, like this:

I on my delete button I set the text asset colour to red and used the same filters for both (the colours AAAAAA, DDDDDD and FFFFFF - I didn’t change the opacity). Obviously when I looked back over the video I realised that Ben set the colour of the text asset to FFFFFF so that it could be completely overwritten in the button component. I’m just wondering if I should avoid my way? Is it bad object design?

Thanks in advance!

JJ