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
1
Question by JesusChristChangedMe · Dec 12, 2010 at 09:18 PM · texturedisplayminimaparrowobjective

Displaying Objective Points Through GUI.

I have an island, and there are two objective points, (both game objects). i am trying to make a minimap or a GUI texture that will display the objective.

  • In one case i would want make a gui texture like an arrow to display over the first object indicating where to go. here is an example of what the arrow might look like.

  • In another case if there were a mini-map to display a yellow dot that you must go towards. here is an example of the kind of minimap i want(without all the fancy gadgets around it)

I havent had much experiance with scripting GUI or Mini-Maps so any ideas on how i can accomplish this will greatly appreciated!

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 Jesus_Freak · Dec 13, 2010 at 12:22 AM 0
Share

ThAt sounds really interesting. Too bad I can't help you there...

avatar image JesusChristChangedMe · Dec 13, 2010 at 02:05 AM 0
Share

Whatever you know is helpful somehow, thanks for taking a look at it though!

avatar image Jesus_Freak · Dec 13, 2010 at 02:09 AM 0
Share

well, i'm good with still GUIs, like buttons and windows... but i guess it could help you. a texture could be a button. but... i can only provide you the basic script reference script because i have 0 idea of $$anonymous$$imaps and guide arrows....

2 Replies

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

Answer by JesusChristChangedMe · Mar 29, 2011 at 09:20 PM

Well i used a new camera for a minimap then added a GUI where my player starts and have the camera smooth follow the player so the Gui and player seem like they remain in the center of the map while the terrian under moves. thanks for the Idea though Jesus_Freak!

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
1

Answer by Jesus_Freak · Dec 13, 2010 at 02:23 AM

as anyone who was reading the comments, i changed the answer from a basic GUI script.

to "U.S.", you could make a simple cube or plane... best a box. and make the arrow texture into a unity material, then play around with the material type.... i'm still looking for how to make it eternally visible (through terrain and objects) without making a GUI... but you could also try the different Layers.

if you work out what material or layer to use, comment what you did.

Comment
Add comment · Show 14 · 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 JesusChristChangedMe · Dec 13, 2010 at 02:49 AM 0
Share

I'll try it but I think you know what my goal is hear right? GUI label type thing that hovers over the object. Like a 3d text only it's big and noticeable when your far away and gets smaller as you get closer so it's not some huge colossal arrow when close to it.

avatar image Jesus_Freak · Dec 13, 2010 at 08:03 PM 0
Share

here's a wacky idea... make a big box, apply the arrow to it as a material (convert it into a material) and apply it to the box.... scale it up to a good proporrtion if that spot is in your field of view, and scale it down according to how close it is to the object.

avatar image JesusChristChangedMe · Dec 13, 2010 at 11:10 PM 0
Share

How would that be visible through objects like terrain though?

avatar image Jesus_Freak · Dec 13, 2010 at 11:32 PM 0
Share

trust me, it can be done! there's this thing tat you can choose on the Transform, the 'arrowCube' it says: Layer and has some different choices. i'm not sure which one is to be globally seen, but i'm sure that's how it's done. you could also alter the material to be arrow with a flare effect, i'm sure that can be done. but actually, not flare.... but something like that effect can be achieved in the 'material editor'.

avatar image JesusChristChangedMe · Dec 13, 2010 at 11:40 PM 0
Share

I'll try it. You might want to edit your answer so if the cube thing works I can check it correct.

Show more comments

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

No one has followed this question yet.

Related Questions

Minimap issue 1 Answer

help with minimap 1 Answer

texture display 3 Answers

Objective Pointer 0 Answers

Objects on minimap replaced with icon? 1 Answer


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