Unity Random number Generation

Random number generation is used in a lot of applications. In games, random numbers are mostly used for level design to achieve the procedural generation of levels. Every random number generator uses a different algorithm. Unity random number generation uses Marsaglia’s Xorshift 128 algorithm. Though the generated number or sequence in Unity is pseudo-random, it is … Read more

Unity Raycast scripting Tutorial

Unity Raycast is a very handy function and can be used for many situations like finding game objects, interacting with objects, shooting, path detection and more in game development. That is why this tutorial is part of our comprehensive resource to learn Unity. Raycasting is a technique that simulates the behavior of a virtual ray … Read more