i have a game mechanic in my 2D game i want to impliment but have no clue how to make it appear in a seperate window/ overlay over the main scene i know about UI windows but from my unserstanding it would not be able to house a seperate game mechanic like what im planning
I would start with any basic UI tutorial. Popups can be sublimely easy or the most complicated thing in the world, so pay attention to the details.
Usually a Popup also implies putting the game into paused mode, so that’s another thing to look up.
Both of those things have millions of examples and tutorials already out there, starting from Unity’s own website and extending into Youtube.
Two steps to tutorials and / or example code:
- do them perfectly, to the letter (zero typos, including punctuation and capitalization)
- stop and understand each step to understand what is going on.
If you go past anything that you don’t understand, then you’re just mimicking what you saw without actually learning, essentially wasting your own time. It’s only two steps. Don’t skip either step.
Imphenzia: How Did I Learn To Make Games:
Please only use tags that are appropriate for the question you’re asking. In this case, 2D-Physics isn’t appropriate so I’ll remove it as it adds your question to the 2D product area and I came ready to answer a physics question.
There are UI tags that you can use which would place your question in a more appropriate area.
Thanks.