peter
1
Is there a way to get a gui custom style button to be offset or highlited when pressed?
is there an option in the customstyle panel in the inspector that will enable that to happen to all my buttons?
Thx for any help.
Hi,
You can choose a different texture for each button state in the guiskin. That would be the standard way to have all your custom buttons be hilited when pressed. Make a normal texture, and make a hilited texture, then assign them to each button state entry.
For it to happen to all buttons, you'll need to modify the Button entry of the guiskin, than any button created will comply.
You can get some "exhaustive" explanations here
Offseting is also available to tweak in each guiskin entries. You'll need to mess with the "overflow" property mainly, but likely have to tweak "margin" and "padding" to achieve the desired result when used in within a gui layout. "Border" is only here to define the scale nine properties of your button so that it stretches nicely.
Hope it helps,
Jean