This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
// Replaces Unity terrain trees with prefab GameObjects. | |
// Handles terrain offsets correctly. | |
public class TreeReplacerS : EditorWindow | |
{ | |
[Tooltip("The terrain containing the trees to replace.")] | |
public Terrain _terrain; |