First we will get the x, y coordinates of the camera relative to the Viewport this will ensure that we'll have the edges of the camera view no matter...
Returns min if value is over the max returns max if value bellow min. · A very simple method that i find quite useful to have: Returns min if value is...
Well a resource that i use frequently in my games to get a better game feel of some events is camera shake. using UnityEngine; public class...
Unity Image, SpriteRenderer, TMPro, SetAlpha(); · It bothered me to have to create a new Color() just to change the alpha of a spriteRenderer or Image,...