Unity3d It button package

Source: Internet
Author: User

Original difficult, reprint please specify switch: http://blog.csdn.net/u012413679/article/details/26354715----kosion


If so, you have already configured the Unity3d development environment. The Ngui resource bundle is also imported. I'm using the 3.9 version number.

1 Creating a button's picture sprite

Click on the "NGUI" menu-----> Create-----> Sprite

Name as button


2 Adding a text label

Click on the "NGUI" menu-----> Create-----> Label

Name is text


The label here, the child to be the button


3 sets the property of the label. For example, with:



The properties of the button are set, for example, as seen:



Effects such as those seen in:



Finally, don't forget to add a pre-packaged control unit

Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.

Unity3d It button package

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.