using UnityEngine; namespace MTE { /// /// Tiled mesh terrain container, this component can be saved removed when building. /// public class TileContainer : MonoBehaviour { public void OnEnable() { if (!Application.isEditor) { // remove this component Destroy(this); } } } }