Source code for Unity tutorial on how to select units within rectangle. Notice that the code is not exactly as in the tutorial because I've learned one or two things but the idea is the same. The main ...
Unity.Mathematics is required for int2 and float2x2 (2D integer vectors and float 2x2 matrices, respectively). The simplest way to get this package is to open the "Package Manager" window in Unity, ...