How do i declare a boolean array?
asked Sep 14, 2010 at 08:00 AM
var myArray1 : boolean;
var myArray2 : boolean = new boolean;
... I'm not sure if the 3rd option I posted in the C# answer is also possible in UnityScript (I didn't find a way to do it but I neither like UnityScript nor use it a lot ;-) ).
answered Sep 14, 2010 at 08:20 AM
if you want to declare an array with 10 "slots". Or:
if you already want to assign it some values.
answered Sep 14, 2010 at 08:13 AM