• 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
-2
Question by hotozi · Apr 28, 2013 at 02:14 PM · gameobjectprefabinventory

Inventory Item preview

i have a GUI inventory system... in my game it allow u to craft a couple of weapons by placing deferents pieces together....so i dont want to make thousands of icons for each weapons or prefabs!!may be there is more but welll...i want to show the item(the hole 3d object in 3d or 2d i dontknow...) in my inventory how can i make this out...

Comment
Add comment · Show 9
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 LightSource · Apr 28, 2013 at 02:26 PM 0
Share

Well two things that might help. Proper grammar and spelling, and also the knowledge that we do not create scripts on your demand. Please ask one question at a time and restate exactly what you want done.

avatar image buxton4life · Apr 28, 2013 at 02:45 PM 1
Share

@LightSource, maybe you should look at your own spelling before criticising others.

avatar image LightSource · Apr 28, 2013 at 03:38 PM 0
Share

Haha, you right. $$anonymous$$y apologies! I was on my phone at 5:00 in the morning, although I know thats no excuse. Thank you for pointing that out!

avatar image ZenithCode · Apr 28, 2013 at 03:59 PM 1
Share

Is this the question you're trying to make.

"I have a big number of 3d meshes which can make up an item when placed together. Can I extract a 2D icon out of this object?"

avatar image hotozi · Apr 28, 2013 at 04:36 PM 0
Share

YES...like this but dont need to rotate it or sommethings just the image....

alt text

72850_screenshots_2011-12-01_00003.jpg (934.2 kB)
avatar image LightSource · Apr 28, 2013 at 05:47 PM 0
Share

Why not assemble the object and take a screenshot on a black background then extract the black and use the remaining image as a GUI texture?

avatar image hotozi · Apr 28, 2013 at 06:44 PM 0
Share

in my game it allow u to craft a couple of weapons by placing deferents pieces together....so i dont want to make thousands of icons for each weapons or prefabs!!may be there is more but welll

in other words like ZENITH SAID:

I have a big number of 3d meshes which can make up an item when placed together. Can I extract a 2D icon out of this object?"

avatar image LightSource · Apr 28, 2013 at 06:46 PM 1
Share

Okay I understand what you mean. Do you want each icon to be totally unique?

avatar image hotozi · Apr 28, 2013 at 06:54 PM 0
Share

YES!! but how do we show up item like skyrim(the image up)...may be i can deal with and find something with it... or may be take a image of all my pieces

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by LightSource · Apr 28, 2013 at 07:18 PM

...or may be take a image of all my pieces.

Thats exactly what you would need to do. Make your textures of your pieces, for this example we will use the classes "Hilt", Guard", and Blade." Designate a space for each class. For example:

Blade picture: [ Texture ]

Guard picture: [ Texture ]

Hilt picture: [ Texture ]

Then what you need to do is change out each texture per upgrade for the new addition. Any questions?

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.

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

15 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

Related Questions

Multiple Cars not working 1 Answer

Array Help GameObject Length Inventory 1 Answer

HELP How to remove gameobject from Built-in Arrays 2 Answers

Spawning objects help 2 Answers

Two exact objects behaving differently... *scratches head* 0 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