Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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
 
PREVIOUS NEXT
Tagged: #Print #arraylist #values #console #unity
ADD COMMENT
Topic
Name
6+5 =