private void OnLogOut()
 {
     m_toggleMappingMode.MappingUI.GetComponent <Mapper>().OnLogOut -= OnLogOut;
     m_toggleMappingMode.DisableMappingMode();
     m_canvasGroup.alpha = 1;
     loginPanel.SetActive(true);
 }
 private void OnLogOut()
 {
     m_Mapper.OnLogOut -= OnLogOut;
     m_ToggleMappingMode.DisableMappingMode();
     m_CanvasGroup.alpha = 1;
     loginPanel.SetActive(true);
 }