This is, in a sense, a follow-up to this previous question: Create Unity scenes programatically - Unity Answers.
I am a somewhat seasoned web/enterprise developer, and I am very used to write my code “in plain text” and without the necessity of using a visual editor. Learning how to do things in a graphical enviromnent subject to future changes is costly and takes away some of our programming power.
Is it possible to create an entire Unity project without the need of the Editor - that is, programatically?
Of course I understand that, being made in a fully-fledged game engine, an Unity game requires some “boilerplate stuff” to work, such as a specific directory structure, configuration files etc. What I am asking is if we can actually, after setting up all this “framework”, do something like this:
UnityGame game = new UnityGame("My Game"); GameScene scene1 = new GameScene(); GameObject object = new GameObject(); // ...do some stuff to the GameObject // ...such as adding behaviour, other GameObjects // ...Transforms, scripts etc. scene1.addObject(object); game.addScene(scene1);
Or, in other words: can we create a game using Unity as a software developer would use an application development framework (such as ASP.NET, Java’s Spring or Hibernate, Ruby’s Rails etc.)?