- Home /
Does c# scripts take up more space than javascript scripts?
So I am wondering which programing language takes up the least amount of memory. I'm trying to take up as little space as possible with my scripts and I don't know which is better with this regard, or if it even matters.
Answer by tanoshimi · Oct 25, 2016 at 05:51 PM
Neither, since they're both compiled to CIL when you build your game anyway. And the "space" occupied by your scripts in terms of kB is a tiny fraction of that used by your audio and graphics resources, and the runtime engine itself.
Right. However in some special cases UntiyScript has a tiny bit of extra overhead (due to some strange compiler behaviour). Also UnityScript requires some extra assemblies (mostly boo classes). So at the bottom line UnityScript usually result in a slightly larger build size. Though as you said the code size is usually just a fraction of the whole build size.
Your answer
Follow this Question
Related Questions
ScriptableObject with references memory usage (help) 1 Answer
Would anyone mind telling me about memory size of blank camera built in APK? 0 Answers
How to get the Half-Major axis of a 2D collider ? 0 Answers
How make space scaled system (3d skybox ) 0 Answers
Periodic Boundary Condition in Unity 0 Answers