using System; namespace LE_LevelEditor.Events { public static class LE_EventInterface { public static EventHandler OnCollectMetaDataBeforeSave; public static EventHandler OnSave; public static EventHandler OnLoad; public static EventHandler OnLoadedLevelInEditor; public static EventHandler OnChangeLevelData; public static EventHandler OnObjectSelectedInScene; public static EventHandler OnObjectPlaced; public static EventHandler OnObjectDragged; public static EventHandler OnTerrainCreated; public static void UnregisterAll() { OnCollectMetaDataBeforeSave = null; OnSave = null; OnLoad = null; OnLoadedLevelInEditor = null; OnChangeLevelData = null; OnObjectSelectedInScene = null; OnObjectPlaced = null; OnObjectDragged = null; OnTerrainCreated = null; } } }