You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end, you can just bind all the controls by base class in the script, and get a visual representation for each element, which is an heir (i.e. no need to bind separately for each and easy to expand on requirements):
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Came up with a way that allows you not to duplicate code when you write a visual display (Hover, Unhover, Press, Release). Now you'll see:
A basic visual control class:
Now you can create an heir (for example):
At the end, you can just bind all the controls by base class in the script, and get a visual representation for each element, which is an heir (i.e. no need to bind separately for each and easy to expand on requirements):
What do you think? Maybe there is something to improve?
All reactions