Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by Mattendo · Jan 21, 2014 at 05:53 AM · spritesprefabs4.3

Creating multiple prefabs from a divided up sprite sheet in 4.3

I was wondering if there's a way to quickly make prefabs from a divided sprite sheet. Currently the only way I've found is dragging them all in individually. I have 30+ platform sprites that I need to turn into prefabs. Thank you in advance for any help.

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by ArchAngelus · Feb 12, 2014 at 05:43 PM

I'm in the same boat as you. I've been dragging them in individually. I don't think there is a way to do it, at least not with the free version of Unity.

It would be nice if Unity at least let us rename the sprites generated from slicing an image instead of being forced to leave them as "Image03_3243", etc. In my case, that is the only reason I am creating prefabs for each one.

Comment
Add comment · 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
0

Answer by DavidDebnar · Feb 12, 2014 at 06:04 PM

As far as I know, no - and it isn't any different in pro. I'm pretty sure there's no way to overcome the 'auto-animate' feature, which kicks in when you try to drag multiple slices of a sprite at once, and I agree, that it's quite annoying.

I'd love to be proven wrong though.

--David

Comment
Add comment · Show 1 · 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 Mattendo · Feb 12, 2014 at 08:16 PM 0
Share

Thanks for the input $$anonymous$$. I love all the new features in 4.3 but I guess there's always room for improvement

avatar image
0

Answer by Diabol0 · Jun 07, 2015 at 03:44 PM

Using the "Hierarchy" tab you can create a prefab, lets say we have a table chair and a key. We want a prefab of the table with a chair under it and a key on top.

Drag in the table, chair and key, and arrange them in the space as you please. now drag the key and chair objects in the hierarchy tab into the table object such that the table becomes the "Parent"

To make the chair appear under the table, and the key on top of the table you must set the "Order in Layer" in the sprite rendering component "Inspector" tab of the key, table and chair

such that:

Key > Table > Chair

I.E Key = 2, Table = 1, Chair = 0

once this is done and the table set-up is as you require, you can drag the table object from the "Hierarchy" tab into a folder in the "Project" tab

Comment
Add comment · 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

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.

Follow this Question

Answers Answers and Comments

21 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

Related Questions

Sprites Become Invisible (SOLVED) 4 Answers

Prefab is not changing image in android 0 Answers

How to place many or array of collectables with organized distance from each other and by doing it easy way? 0 Answers

Scrolling Bg Parallax seams appear every alternate spawn 0 Answers

Prefab GameObject is rendering(?) at a different scale per scene 2 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