using UnityEngine; using UnityEngine.TerrainTools; namespace UnityEditor.TerrainTools { /// /// An interface that represent handling methods for brush events. /// public interface IBrushEventHandler { /// /// Register a system event for processing later. /// /// The event to register. void RegisterEvent(Event newEvent); /// /// Consume previously registered events. /// /// The terrain in focus. /// The IOnSceneGUI to reference. void ConsumeEvents(Terrain terrain, IOnSceneGUI editContext); /// /// Allows us to request a repaint of the GUI and scene-view. /// void RequestRepaint(); } }