private void SceneStateChangedClientRpc(SceneTransitionHandler.SceneStates state)
 {
     if (!IsServer)
     {
         SceneTransitionHandler.sceneTransitionHandler.SetSceneState(state);
     }
 }
 private void SceneTransitionHandler_sceneStateChanged(SceneTransitionHandler.SceneStates newState)
 {
     m_CurrentSceneState = newState;
     if (m_CurrentSceneState == SceneTransitionHandler.SceneStates.Ingame)
     {
         if (m_PlayerVisual != null)
         {
             m_PlayerVisual.material.color = Color.green;
         }
     }
     else
     {
         if (m_PlayerVisual != null)
         {
             m_PlayerVisual.material.color = Color.black;
         }
     }
 }