Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
This question was closed Jun 09, 2017 at 07:39 AM by Hellium for the following reason:

https://unity3d.com/fr/learn/tutorials/modules/intermediate/live-training-archive/modal-window?playlist=17111

avatar image
-1
Question by Christyne-saw · Jun 09, 2017 at 06:42 AM · buttonbutton trigger events

Show a message(image) using a button?

im new in unity and im still quite confused. im making a small mall and i'd like a message(in image) to appear when the user clicks on of the items he'd like to purchase. then in the message box is a confirmation (it says, "would you like to purchase this?" with a yes or no). how can i make it appear on click of the item and close when the user picks either yes or no?

thank you in advance!

Comment
Add comment · Show 6
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 SohailBukhari · Jun 09, 2017 at 07:07 AM 0
Share

Button.onClick UnityEvent that is triggered when the button is pressed. Note: Triggered on $$anonymous$$ouseUp after $$anonymous$$ouseDown on the same object. documentaion for Button.onClick https://docs.unity3d.com/ScriptReference/UI.Button-onClick.html

avatar image Hellium · Jun 09, 2017 at 07:40 AM 0
Share

Seriously, when there is an official tutorial on the official website, you have NO EXCUSE AT ALL

avatar image SohailBukhari Hellium · Jun 09, 2017 at 10:01 AM 0
Share

why you devote my all questions?

avatar image Hellium SohailBukhari · Jun 09, 2017 at 10:06 AM 0
Share

To prevent you from accepting questions such like this one and several other ones in the moderation queue since they does not respect the FAQ

Show more comments

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Highlight images in buttons children 0 Answers

Buttons not working properly. 0 Answers

UI button in Panel not clickable 2 Answers

Use Singleton Prefab in Button's onClick editor field 0 Answers

How do I create a Gmod item spawn menu in unity? 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