void OnDestroy() { if (isLocalPlayer) { mySelf = null; } EventMgr.instance.RemoveListener(this); RipMgr.instance.RemoveTarget(gameObject); if (hudControl != null) { hudControl.Release(); } hudControl = null; }