I am creating a script that bases its outcome from the terrains heightmap. As a part of a "debug" function, i would like to find an "onTerrainChanged" event. I cant figure out how to get notified when the terrain has been changed, when i am in the editor. Does anyone know how to do this? Or is it imposible?
I am not looking for "creating events yourself". I know how to create events with C#. I am looking for a way to get notified when the terrain heightmap has been changed by the terrain script in the editor.