void OnDisable() { if (miniMapController != null) { miniMapController.UnregisterMapObject(mmo, this.gameObject); } }