コード例 #1
0
ファイル: ImageButton.cs プロジェクト: PeekAndPoke/unitylibs
 /// <summary>
 /// C'tor
 ///
 /// The size is automatically set to the buttonStyle.normal.background
 /// </summary>
 /// <param name="buttonStyle">SkinAdapter with all button states</param>
 public GenericImageButton(IStyle buttonStyle)
 {
     Setup(buttonStyle.GetBackgroundImageSize().X, buttonStyle.GetBackgroundImageSize().Y, buttonStyle);
 }