Linear Interpolation or lerping is a mathematical function which interpolates between two values. The interpolation amount is varied by passing a weight factor along with the start and end values. Linear interpolation is used in many areas of game development for movement, rotation, scale and everywhere you can think of. This article is about 7 lerping tricks you need
Designing UI for games takes some effort. And doing the same on mobile devices is very difficult. The variety of screen resolutions and dpis make the job not easy. Luckily, the guys that made Unity came up with a solution and that is Unity UI components. It is available from Unity 4.6 version. Once you
In Unity game engine editor, there are options to draw a box or a sphere in Gizmos. At times, we may need to draw simple 2d circles using Gizmos. But there is no API for drawing circles in gizmos. There is a method to draw lines in gizmos, we can use that method to draw
Our website uses cookies to make your browsing experience better. By using our site you agree to our Terms and Conditions and our Privacy Policy. Find out more.