Thursday, October 20, 2011

Unity: How to create an array with values in it

C#: public int[] val = new int[3] {1, 2, 3};
JS: var val : int[] = [1, 2, 3];

0 comments: