예제 #1
0
파일: UIManager.cs 프로젝트: StalkerxD/RTS
 //----------------------Mouse Button Handler------------------------------------
 private void ButtonClickedHandler(object sender, MouseEventArgs e)
 {
     //If mouse is over GUI then we don't want to process the button clicks
     if (e.X < Screen.width - m_GuiWidth)
     {
         e.Command();
     }
 }
 //----------------------Mouse Button Handler------------------------------------
 private void ButtonClickedHandler(object sender, MouseEventArgs e)
 {
     //If mouse is over GUI then we don't want to process the button clicks
     if (e.X < Screen.width-m_GuiWidth)
     {
         e.Command ();
     }
 }