In javascript I can very efficiently initialize an object at the same moment I declare it, as in:
var mylevel = {
levelName : "Hounds of Hades",
weapons : ["unseeing eye of al mualim", "laser sword"],
enemies: ["Dementos", "matter eater lad"]
}
Unity seems to hate this. What’s the best way to manage this kind of constant data? Do I have to declare a class, instantiate it, and then use dot syntax or constructors?