public static MGButton CheckboxWithTexture(string fsName1, string fsName2) { var button = new MGButton(); button.InitCheckboxWithPrssingTexture(fsName1, fsName2, "", ""); return button; }
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; }
public static MGButton ButtonWithToggleTwinkle(string fsName1) { var button = new MGButton(); button.InitButtonWithToggleTwinkle(fsName1); return button; }
public static MGButton ButtonWithTextureTwinkle(string fsName1, string fsName2) { var button = new MGButton(); button.InitButtonWithTextureTwinkle(fsName1, fsName2); return button; }
public static MGButton ButtonWithoutTexture(float width, float height) { var button = new MGButton(); button.InitButtonWithoutTexture(width, height); return button; }
public static MGButton ButtonWithFadeoutTwinkle(string fsName1, float opacity) { var button = new MGButton(); button.InitButtonWithFadeoutTwinkle(fsName1, opacity); return button; }