internal void RemoveTrees(Vector2 position, float radius, int prototypeIndex) { INTERNAL_CALL_RemoveTrees(this, ref position, radius, prototypeIndex); }
public static void RemoveTrees(Terrain terrain, float xBase, float yBase, bool clearSelectedOnly) { float radius = TreePainter.brushSize / terrain.terrainData.size.x; terrain.RemoveTrees(new Vector2(xBase, yBase), radius, !clearSelectedOnly ? -1 : TreePainter.selectedTree); }