Added 3 button event. Changed hovered and clicked boolean to be stored in UIComponent instead. Fixed Canvas Scaling matrix. #356

Merged
maverickdgg merged 3 commits from SP3-20-UI-System into main 2023-02-21 15:49:28 +08:00
maverickdgg commented 2023-02-21 10:53:04 +08:00 (Migrated from github.com)

Added 3 button event: OnRelease, HoverEnter, HoverExit.
Changed hovered and clicked boolean to be stored in UIComponent instead.
Added a helper function that will call the check for hovered and clicked and broadcast the relevant events.
Fixed Canvas Scaling matrix to now maintain aspect ratio of the UI elements.
Added a scale by width/height boolean to the canvas component

Added 3 button event: OnRelease, HoverEnter, HoverExit. Changed hovered and clicked boolean to be stored in UIComponent instead. Added a helper function that will call the check for hovered and clicked and broadcast the relevant events. Fixed Canvas Scaling matrix to now maintain aspect ratio of the UI elements. Added a scale by width/height boolean to the canvas component
XiaoQiDigipen (Migrated from github.com) reviewed 2023-02-21 10:53:04 +08:00
Sign in to join this conversation.
No description provided.