Hi, i’m completely new, and I’m having a simple problem, but i don’t know how to solve it.
I want to declare and initializate an array, but unity is giving me compiling problems
I want to do:
var somearray : int [] = new int [] {12,23,54};
or also tried
var somearray : int [] = {12,23,54};
but it doesnt work… can anybody help me??
Thanks a lot