protected void MarkAsDirty() { if (terrain == null) { terrain = GetComponent <SgtTerrain>(); } terrain.MarkMeshAsDirty(); }