RemoveDetail() static private method

static private RemoveDetail ( Terrain terrain, int index ) : void
terrain UnityEngine.Terrain
index int
return void
Example #1
0
 internal static void RemoveDetail(MenuCommand item)
 {
     TerrainEditorUtility.RemoveDetail((Terrain)item.context, item.userData);
 }
Example #2
0
        static internal void RemoveDetail(MenuCommand item)
        {
            Terrain terrain = (Terrain)item.context;

            TerrainEditorUtility.RemoveDetail(terrain, item.userData);
        }