예제 #1
0
파일: UI.cs 프로젝트: jidamy/damsan
 public void Enable()
 {
     if (ButtonGraphic.ContainsCursor() && User.JustLeftClicked())
     {
         ButtonClickAction();
     }
 }
예제 #2
0
파일: UI.cs 프로젝트: jidamy/damsan
 public static bool JustLeftClicked(Gfx g)
 {
     return(g.ContainsCursor() && User.JustLeftClicked());
 }