I am currently making UI for my game, I am using tweening in my UI to make it look interesting, I am wondering how you would add a good Debounce so that I can open and close my script and make it feel good to open and close.
Some UI Debounce that I think looks good is from Sword Fighting, When you open and close it if you do it fast the tweening doesn’t even finish it just goes back and it also doesn’t glitch out.
I have tried a bool Variable but I find it is sometimes unresponsive
Yes basicly, I know how to use tweening witch makes it look good, But the only way i know how to open and close it is with a bool variable witch makes it sometimes unresponsive. here is some code that shows what i mean