Example #1
0
 private void DisasterIcon_OnClick(DisasterIcon obj)
 {
     if (worldWindow.IsVideoShown())
     {
         worldWindow.HideVideo();
     }
     else
     {
         if (disasterContent.disasterIcon == obj)
         {
             worldWindow.ShowVideo(true);
         }
         else
         {
             worldWindow.ShowVideo();
         }
     }
 }