Here , I want to increase UI button size while clicking the button using C# in unity. How should I achieve this.,In unity , Above image target i need to place canvas, but the canvas is moving its not able to fix in particular place.
How to increase button size while clicking the button,How to fix canvas along with image target in unity
There are multiple ways, with animations, using 2 different sprites, changing the button object transform scale.
you need to use the function OnMouseOver or OnMouseDown over the button object and make things happen.