public void DestroyEvent() { if (editGameMeditor != null) { RemoveMediator(EditGameMeditor.NAME); editGameMeditor.RemoveEvent(); editGameMeditor = null; } }
public void StartUp(GameObject root) { if (editGameMeditor == null) { editGameMeditor = new EditGameMeditor(); RegisterMediator(editGameMeditor); } editGameMeditor.Init(root); }