Unity: Difference between revisions

19 bytes added ,  8 January 2021
 
Line 30: Line 30:
If you need multiple instances of the same object, make sure that the material is instanced so that all objects only consume one draw call.<br>
If you need multiple instances of the same object, make sure that the material is instanced so that all objects only consume one draw call.<br>
See [https://docs.unity3d.com/Manual/GPUInstancing.html Unity: GPUInstancing].<br>
See [https://docs.unity3d.com/Manual/GPUInstancing.html Unity: GPUInstancing].<br>
Do not attach scripts to thousands of objects. Instead use one script on one object.<br>
Do not attach scripts to thousands of objects. Instead use one script to control all instanced objects.<br>


====Merging Meshes====
====Merging Meshes====