Unity

[UNITY] Character & map collision, Arrow key access

                  Character & map collision First of all, BoxCollider2D are required and added to both character and map tiles to make sure proper collision detection. Rigidbody2D allows us to connect the physical properties of the character and access it from the C# script. Initialize the object before the Start() function

  In start(), we…

Continue Reading