Good afternoon, colleagues! Someone can advise whether it is possible in some simple way to scale the image on the tablet screen using Canvas / EventSystem Unity - let the user scale the image with two fingers on the touchscreen?
1 answer
as an example, you can try to put a canvas scaler in Match Width or Height mode; there you can set the slider to 50.
and with the help of a script that catches the desired gesture, change the parameters of the basic screen size of the same canvas scaler.
Must get what you need.
Or think of something similar for other canvas scaler modes.
|