Button Behaviour Script
With this script you can add some personality to your in game GUI! With customizable options from inside the Unity Editor you can change how your buttons react to "hover" events, and "click" events. It comes with 6 different hover choices and 11 different click reactions. You also have the option for it to swap your button texture when pressed. This script is easy to use, and handles multiple situations behind the scenes so you dont have to worry! Our demo scene also helps demonstrate some ways to set up your GUI buttons if you are just starting out.
Most importantly this script comes with the option to make your buttons scale to any screen ratio size. This is great if you are planning to release your game on multiple platforms or mobile!
Included Hover effects are:
- Turn On
- Visible
- Brighten
- Custom Colour
- Dim
- Nothing
Included Click effects are:
- Wiggle
- Big Wiggle
- Shake
- Nod
- Down
- Left
- Right
- Shrink
- Grow
- Light Up
- Custom Colour