I've come over from Unity3D to check out GoDot, and I'd like to better understand how arrays work.
I prefer to tightly write my code, so I've been declaring variables explicitly stating the type...
var x:int = 5
I believe I can create an array with the following line...
var bindings:Array
But how do I declare what type of data the array will hold?
One GoDot tutorial example has this...
var array1 = ["One", 2]
Am I to understand that a single array in GDScript can hold a different data type in each array element?
Thank you.