private void OnDestroy() { monsterController.Deregister(this); GameManager.instance.update -= UpdateC; }