How to print an array in console c# unity code example
Example: Print arraylist values to console unity
// C# In Unity
string[] aHuman = { "Leyla", "Pedro", "Carlos", "Ana" };
function Start ()
{ //create a new variable Human so you can get the values
foreach (string human in aHuman)
{
Debug.Log(human);
}
}
// Press Play and open the Console