Firstborn/Assets/MeshBaker/Examples/PrepareObjectsForDynamicBat.../MB_PrepareObjectsForDynamic...
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

16 lines
777 B
C#

using UnityEngine;
using System.Collections;
public class MB_PrepareObjectsForDynamicBatchingDescription : MonoBehaviour {
void OnGUI(){
GUILayout.Label ("This scene creates a combined material and meshes with adjusted UVs so objects \n" +
" can share a material and be batched by Unity's static/dynamic batching.\n" +
" Output has been set to 'bakeMeshAssetsInPlace' on the Mesh Baker\n" +
" Position, Scale and Rotation will be baked into meshes so place them appropriately.\n" +
" Dynamic batching requires objects with uniform scale. You can fix non-uniform scale here\n" +
" After baking you need to duplicate your source prefab assets and replace the \n" +
" meshes and materials with the generated ones.\n");
}
}