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 gyopo · May 08, 2011 at 06:43 PM · cameraiconminimap

How can I set an icon to my character and to all the other enemyes in the minimap??

I've created a minimap, but all I can see is the character, while I'd like to have icons for each character , such as cod(call of duty)

Comment
Add comment · Show 3
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 GesterX · May 08, 2011 at 07:08 PM 0
Share

going to need to see your $$anonymous$$imap code...

avatar image gyopo · May 08, 2011 at 07:20 PM 0
Share

well, right now I haven't add a code to my camera, because I don't now what to do!

avatar image Loius · Jun 28, 2012 at 06:17 PM 0
Share

There are lots of search results for '$$anonymous$$imap' if these answers aren't what you want.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Dreamer · May 09, 2011 at 04:35 AM

1 Create 3D textures as icons and attached them to each game-object. Make sure the facing is upwards.

2 And you need to set these icons to a different layer, like "Icons".

3 You don't want your main camera to see these icons, so you untick this layer in cullingMask of main camera.

4 Add this layer to cullingMask of minimap camera so it will render the these icons. (you can make it only render terrain and icons by manipulating layers in cullingMask)

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 JJNCreator · Jun 28, 2012 at 04:57 PM

it's simple. here's what to do:

  1. make an empty gameobject and put a halo component in the gameobject

  2. make colors for the halo[s] (i used blue for the player and red for enemies)

  3. parent the gameobject to your minimap camera

  4. make a layer (i called mine "minimap only")

  5. assign the layer in your player's camera and make sure that minimap only layer is the only one not selected (in the camera component, not the transform)

  6. make sure the minimap only layer is the only layer selected in your minimap camera (in the transform, not the camera component)

u should now have an icon of your player on your minimap. do the same thing with the enemy icons, but dont parent them with the minimap. parent the icons with the enemy models.

hope it helps!

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

2 People are following this question.

avatar image avatar image

Related Questions

Minimap enemy icon help? 0 Answers

Minimap clicking RTS style feature 3 Answers

secondary camera (ignore scene lighting) 2 Answers

Resizing minimap camera fails on first function call, but not following calls 2 Answers

2D Minimap with 3D Globe 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