Unity Tutorial : Button Sprite Change Effects (OnClick, SpriteState, Toggle)

preview_player
Показать описание
In this video we go through on click button sprite swap in Unity. Entire video is divided into 3 parts:
1. We do a simple Sprite Swap on click
2. We change entire sprite state of the button which would be useful in cases where you UI has multiple modes
3. We learn how to make sprite toggle effect in Unity like subscribe button on YouTube.

.....................................................................................
📖Check out these resources :

.....................................................................................
Timestamps:
00:00 - Introduction
00:08 - Sprite Swap
01:07 - Sprite State
03:15 - Sprite Toggle

......................................................................................
✔✔ Follow us:
Рекомендации по теме
Комментарии
Автор

dude the sprite swap thingi making it none made the highlited thing comeagain tq so much i was looking for it :) appreciate it

NavSci
Автор

This was very helpful. Nicely done. On the Sprite Toggle script, do you think there is a way to write this to PlayerPrefs so that the state of the button is saved when the scene or app is closed and reopened?

joshellyson
Автор

thanks for the tut but the music is way too loud.

takingpictures
Автор

The music is disturbing. This video would be better if it had no music at all

Faerion