I need to creat a Graphic with a random array
var intArray : int = new int[10];
var convertedArray : Array = new Array(intArray);
var a: int=0;
for (var i = 0; i < convertedArray.length; i++)
{
a= Random.value*10;
Debug.Log(“ConvertedArray[” +i + "]: " + a);
}
}
I have this random array, i thinked to use the function DrawLines but it did not work… the graphic needs to show the times that the numbers (0-9) appers.
Other thing that I thinked was use 10 cubes and transform the scale in Y. Each cube represents each number.
Can you guys help me?