How to fade a 2D sprite in UnityLearn how to fade a sprite over time in Unity by modifying the alpha channel of its colour with Move Towards.
How to Lerp Colour in UnityIt’s possible to change a colour over time using Color.Lerp, by setting a start colour, a target colour, and passing in a blend value, T.
How to Lerp Rotation in UnityUsing Lerp with rotation Lerp can be used with Quaternions to rotate an object to an angle over a period of time.
How to Lerp by speed in UnityIt’s possible to control the speed of Lerp by incrementing a scaled T value but this is, technically, not how Lerp is supposed to work.
How to move an object with the keyboard in UnityTo move an object with the keyboard, or with any other input device, multiply the direction of movement you want to apply by an Input Axis.
How to calculate distance in UnityThere are two ways to calculate distance in Unity. With the Distance function or with the Magnitude function.
How to calculate speed in UnityThere are two main methods for calculating speed in Unity, the Rigidbody Method and the Position Method.
How to calculate direction towards another object in UnityTo calculate the direction between two objects or points in Unity, subtract the position of the target from the position of the origin.