46 Tips & Tricks for 2D mobile Performance in Unity.
If this is your first jump into the world of Unity, my first tip (this one’s a freebie) is to stop trying to use it like other languages and environments. You will be using GameObjects, you will be adding multiple script components, and you will have to think differently. When I first started, my approach was to largely ignore prefabs (or use them like Flash’s display list) and get a copy of Box2D running. Painful as it is to deviate, get ready to put in some work! Without further ado, let’s get started: Physics: -Use the built-in physics.It might seem like a waste of cycles to have a fully 3D physics engine running the show for a 2D game, but bear in mind that the Nvidia PhysX engine will be running in Unity’s native core. -Try to use a 1/1 scale. -Get your object Mass right. -Mesh colliders can be slow compared to primitive box/sphere colliders. -You can simulate more complex shapes by combining primitive colliders. -Objects with a collider but no RigidBody are considered static.
• Nice 3d news, sites, models, tutorials
• Unity 3D