MB_BatchPrepareObjectsForDynamicBatchingDescription.cs 635 B

12345678910111213
  1. using UnityEngine;
  2. using System.Collections;
  3. public class MB_BatchPrepareObjectsForDynamicBatchingDescription : MonoBehaviour {
  4. void OnGUI(){
  5. GUILayout.Label ("This scene is set up to create a combined material and meshes with adjusted UVs so \n" +
  6. " objects can share a material and be batched by Unity's static/dynamic batching.\n" +
  7. " This scene has added a BatchPrefabBaker component to a Mesh and Material Baker which \n" +
  8. " can bake many prefabs (each of which can have several renderers) in one click.\n" +
  9. " The batching tool accepts prefab assets instead of scene objects. \n");
  10. }
  11. }