top of page

Key Bind Buttons

  • 50541507
  • Apr 19, 2022
  • 1 min read

This was a bit of a simple job - creating themed key bind buttons for the controls settings screen.

I mainly just recreated the animations and style of the normal button widget, but with a default InputKeySelector widget as a base instead of a button, allowing me to just set the text component I was using to the InputKeySelector's current text, and voila, the text component updates with the InputKeySelector. However, because I wasn't using a Button widget as the base, I didn't have access to the normal Hover and Unhover events, so had to use the events I used in my custom combo box widget, overriding the On Mouse Enter and On Mouse Leave functions. This works great, and I think pretty much completes the entire theme for every element in the main menu now.

 
 
 

Comments


bottom of page