public void LeaveWorld() { if (skillManager != null) { skillManager.Clear(); } if (battleManager != null) { battleManager.Clean(); } if (propertyManager != null) { propertyManager.Clear(); } if (sfxManager != null) { sfxManager.Clear(); } if (fsm != null) { fsm.Clear(); } OnLeaveWorld(); }