Please guide me on what I am doing wrong, just started using unity.
For future people searching:
I’m currently trying to figure this out with Unity Visual Scripting. So Button > Set Colors required you input a colorBlock type, I enabled those to show up in the nodes and regenerated. But now I don’t know how to to set the button colors, only individual parts of the colorBlock (normal, pressed, disabled, etc.). I would think that the Color Block > Set Normal Color for example would output a ColorBlock to Set Colors on a button? Any thoughts?
Having spent waaaay too much time trying to figure out how these nodes are supposed to fit together, or how to convert a color node into a color block, I finally discovered the very simple solution. When you click on the Color Block node, in the inspector, there is a small Chainable checkbox you can click, that adds a color block output to the node.
© 2022 - 2024 — McMap. All rights reserved.