If you’re working independently on your game, chances are you may not have experience in all areas of game development. Do not use the Standard Assets and the Asset Store If you have previous experience with programming, you should perhaps start using the language you are more familiar with. After all, both JavaScript and C# have their pros and cons. It’s normal to be undecided about which language to choose for your game. For instance, if your image effects are written in JavaScript and you want to procedurally change their parameters from a C# script… well, good luck. This is very easy if they are both written in the same language, but it gets quite complicated if they aren’t. It is not uncommon for a script to access another one. Besides the obvious confusion that working with two different languages causes, there are more practical issues you should be aware of. Choosing one language or the other will not limit the things you can do in your game. Unit圓D allows you to attach scripts to your objects, which can be written either in C# or JavaScript. That’s why is so important to get the scale right from the very beginning. It’s tempting to increase the gravity to speed things up, but this will only make the simulation less realistic.Ĭhanging the scale of your project is very challenging: you may have to re-import sprites, models and to manually re-adjust the position of all the objects in your levels. If the scale of your models is not right, you may experience strange behaviours such as objects falling too slowly. Whether you’re using Box2D or NVIDIA® PhysX®, size does matter for Unity. If it’s a car, it should be approximately 2 meters if it’s a building, it should be 20 a spaceship is 200, and so on. The size of an object is measured in meters when you import it, you should be sure its size is comparable to what it represents.
![unity assets not showing up unity assets not showing up](https://bs-uploads.toptal.io/blackfish-uploads/components/seo/content/og_image_file/og_image/777344/default-social-9-967b798096f11c635784c65e82e1df68.png)
![unity assets not showing up unity assets not showing up](https://user-images.githubusercontent.com/55187948/103559233-16e43100-4eb6-11eb-95b3-a6879ae9c11a.png)
If you’re planning to use Unity2D or Unit圓D physics, it’s very important to get the scale of your project right. This post will show some of the most typical mistakes developers make when approaching Unity for the first time. It’s important to understand how Unity works, so that its limitations can actually become a guided path. Features which should be trivial can be incredibly challenging if you’re trying to fight against Unity’s logic and workflow. By simplifying some aspects of game development, it has imposed its own way of doings things. Its gentle learning curve has been both Unity’s greatest feature and downfall. Whether you like it or not, it is becoming one of the de-facto tools used by independent developers. It is undeniable that Unity has made game development accessible to many people.