예제 #1
0
파일: MGButton.cs 프로젝트: koery/MiniWar
 public static MGButton CheckboxWithTexture(string fsName1, string fsName2)
 {
     var button = new MGButton();
     button.InitCheckboxWithPrssingTexture(fsName1, fsName2, "", "");
     return button;
 }
예제 #2
0
파일: MGButton.cs 프로젝트: koery/MiniWar
 public static MGButton CheckboxWithPressingTexture(string fsName1, string fsName2, string fsName3,
                                                    string fsName4)
 {
     if (fsName3 == null) throw new ArgumentNullException("fsName3");
     var button = new MGButton();
     button.InitCheckboxWithPrssingTexture(fsName1, fsName2, fsName3, fsName4);
     return button;
 }
예제 #3
0
파일: MGButton.cs 프로젝트: koery/MiniWar
 public static MGButton ButtonWithToggleTwinkle(string fsName1)
 {
     var button = new MGButton();
     button.InitButtonWithToggleTwinkle(fsName1);
     return button;
 }
예제 #4
0
파일: MGButton.cs 프로젝트: koery/MiniWar
 public static MGButton ButtonWithTextureTwinkle(string fsName1, string fsName2)
 {
     var button = new MGButton();
     button.InitButtonWithTextureTwinkle(fsName1, fsName2);
     return button;
 }
예제 #5
0
파일: MGButton.cs 프로젝트: koery/MiniWar
 public static MGButton ButtonWithoutTexture(float width, float height)
 {
     var button = new MGButton();
     button.InitButtonWithoutTexture(width, height);
     return button;
 }
예제 #6
0
파일: MGButton.cs 프로젝트: koery/MiniWar
 public static MGButton ButtonWithFadeoutTwinkle(string fsName1, float opacity)
 {
     var button = new MGButton();
     button.InitButtonWithFadeoutTwinkle(fsName1, opacity);
     return button;
 }