internal static void RemoveSplat(MenuCommand item) { Terrain context = (Terrain)item.context; TerrainEditorUtility.RemoveSplatTexture(context.terrainData, item.userData); }