Answers for "unity 2d array"

C#
1

2d ray unity

RaycastHit2D hit = Physics2D.Raycast(transform.position, -Vector2.up);
Posted by: Guest on February-15-2021
0

unity two dimensional array

A two dimensional array stores objects like you would in a table with x an y coordonates. For instance, in Unity a public two dimensional array of objects would be declared as such: public GameObject[,] arrayExample;
Posted by: Guest on November-16-2021

C# Answers by Framework

Browse Popular Code Answers by Language