Answers for "unity make a int arry with preset values"

C#
1

unity make a int arry with preset values

// For a preset arry in c#

var arr = new string[3] {"one", "two", "three"};

// Or you can do this:
 string[] arr = {"one", "two", "three"};
Posted by: Guest on January-06-2020

C# Answers by Framework

Browse Popular Code Answers by Language