This repository has been archived on 2026-01-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
AW_2025/Assets/MeshBaker/Examples/PrepareObjectsForDynamicBatching/MB_PrepareObjectsForDynamicBatchingDescription.cs
2025-03-06 10:29:25 +09: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");
}
}