Example #1
0
 void Update()
 {
     if (Input.GetKeyUp(KeyCode.B))
     {
         bool flag = !ShowBalloonLabel;
         SetShowBalloonLabel(flag);
         configWindow.SetShowBalloonLabel(flag);
     }
     if (Input.GetKeyUp(KeyCode.L))
     {
         bool flag = !ShowLandmarkLabel;
         SetShowLandmarkLabel(flag);
         configWindow.SetShowLandmarkLabel(flag);
     }
     if (Input.GetKeyUp(KeyCode.D))
     {
         bool flag = !Use3DMap;
         SetUse3DMap(flag);
         configWindow.SetUse3DMap(flag);
     }
     if (Input.GetKeyUp(KeyCode.M))
     {
         bool flag = !SatelliteMap;
         SetSatelliteMap(flag);
         configWindow.SetSatelliteMap(flag);
     }
     if (Input.GetKeyUp(KeyCode.S))
     {
         bool flag = !SoundEffect;
         SetSoundEffect(flag);
         configWindow.SetSoundEffect(flag);
     }
 }