- Home /
Gamedevelopment using only unity c# script
Hi,
i am newbee to unity3d, i just played with unity3d by creating a terrain, placing 3d person and used some assets to work with them. Now, my question is without using unity editor can we create a game using ONLY unity C# script, i don't want to touch unity editor so that i can learn unity exactly.
This sounds bit odd i know, if any of you can explain how can i do that it would be very helpful.
Any links or ideas how to start from scratch (it'll be better with Visual studio, because i am familiar with that) will be appreciated.
Regards, Jung Lee.
Your intent is completely misguided. Using only C# and no editor features will not speed up your learning or make your game any better.
I think he didn't put his thoughts exactly as he wanted.
Answer by YoungDeveloper · Jul 18, 2014 at 07:10 AM
What are the alternatives, unityscript, c# and boo in single project?
Everything can be created by just using c#. If you only your game does not require server side logic, which might require java.
server side logic can be written using something other than java - there are many options entirely dependant on the requirements...
I never said it is the only one, it was an example "which might" ...
you are correct - i was merely pointing out that there were other options.
the OP is a self-confessed unity noob, so it's probably better letting them know that there are many options, otherwise they might end up cracking nuts with sledgehammers...
best solution for the job.
That's how "noobs" proceed to "not noob" level, by "cracking nuts with sledgehammers" ;)
I think @Bored$$anonymous$$ormon got it right, actually - the OP is simply misguided, and is perhaps trying to bring across design practices from other environments that don't translate well to Unity.
Unity expects you to use the editor to compose your scene. Indeed, there are some settings that are only exposed in the inspector and cannot be edited through the API - many of the particle settings, for example. To try to do everything through script is fighting against Unity rather than trying to work with it.
Answer by tanoshimi · Jul 18, 2014 at 07:10 AM
If you want to create everything programmatically from script rather than dragging objects into the scene view, that's fine - look up the Instantiate() method. And you can edit C# scripts using VS rather than MonoDevelop if you prefer. However, that's no more "exact" than cteating a scene using the editor, and you'll still need to use the Unity Editor to edit certain project settings, test, profile, and build your game.
Ya Thanks @tanoshimi, sorry for late reply, i was playing with scripting and unity editor.
Your answer
