Button Behaviour Script

$4
Publisher Tri-Angulum Studios
File size 347.67kB
Number of files 5
Latest version 1
Latest release date 2014-05-22 10:44:15
First release date 2014-05-22 10:44:15
Supported Unity versions 2018.4.2 or higher
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

Top Publisher Assets