write a array in unity 3d code example
Example 1: unity array c#
public string[] myArrayName = new string[4];
Example 2: unity array c#
public string[ ] familyMembers = new string[ ]{"Greg", "Kate", "Adam", "Mia"} ;
public string[] myArrayName = new string[4];
public string[ ] familyMembers = new string[ ]{"Greg", "Kate", "Adam", "Mia"} ;