• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by BilboStabbins · Oct 06, 2014 at 02:37 PM · spritenguisprite sheets

How to add sprites from a sprite sheet to an NGUI atlas

Hi,

I have a sprite sheet with various elements and have used Unity's Sprite Editor to splice them. I would like to be able to add these individual sprites to an NGUI atlas to maintain consistency in the project (use NGUI's UISprite rather than using Unity Sprite Renderer to display these textures, etc.).

I was wondering if there is a way I can do t$$anonymous$$s, possibly using t$$anonymous$$rd party software to splice/extract the textures from the sprite sheet.

Has anyone done anyt$$anonymous$$ng similar?

Thanks in advance.

Comment

People who like this

0 Show 0
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by Anxo · Oct 06, 2014 at 03:35 PM

You could o/c take it into photoshop and cut it and add it to your atlas but that would be very inconvenient. If you make sure you have the latest version of NGUI, you will be able to use unity sprites in NGUI just not via atlas., Go to your top NGUI menu you select, create, Unity 2D Sprite, t$$anonymous$$s does not behave like a Unity Sprite renderer but more like an NGUI element, allowing you to go pixel perfect and use all the widgets associated with NGUI but with a Unity Sprite. Have not even used the NGUI atlas in a long time because of t$$anonymous$$s feature.

Comment
Andres-Fernandez

People who like this

1 Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image BilboStabbins · Oct 06, 2014 at 04:40 PM 0
Share

Thanks Anxo, that's working great!

Do you know how this work if say I have a font (characters as sprites) which are also part of the sprite sheet? These have been splice too but is there a way to convert these into a working font.

Thanks

avatar image Anxo · Oct 06, 2014 at 06:13 PM 0
Share

Fonts are different, Aron (the guy who made NGUI) has a video on importing custom fonts to work with NGUI, it works really well but requires the use of a 3rd party free software that arranges and maps the fonts.

avatar image Lazybones94 · Jul 04, 2016 at 09:01 AM 0
Share

and what about 2.7.0 NGUI?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

30 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to make sprites with ms paint? 1 Answer

Load sprites from NGUI atlas and display them on scene 0 Answers

NGUI button: Different sizes for different states? 0 Answers

NGUI Slider foreground color change 1 Answer

Lines appear between sprites from sprite sheets 7 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges