playMaker

Author Topic: UI Menu on game object.  (Read 1722 times)

Voss96

  • Playmaker Newbie
  • *
  • Posts: 3
UI Menu on game object.
« on: January 04, 2017, 12:02:07 AM »
Can't find anything about this anywhere, either that or I'm missing the obvious. I'm building a tower defense game and want a little mini upgrade menu to spawn when you touch a turret. I don't want a full screen menu, just small.

Something like this, except 3D.
http://cdn-www.bluestacks.com/AndroidTapp/2012/12/Toy-Defense-Upgrade-fix-or-sell-towers.png

I have gone down the "touch object" route and know how to work with that but I'd much rather use the UI this time if possible.

Thanks!

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: UI Menu on game object.
« Reply #1 on: January 05, 2017, 12:25:10 AM »
I don't understand what seems to be the problem? How do you plan to touch it if you don't use touch object?

You have million ways to do it but you're not being clear enough what exactly do you want to achieve.

If you want it to be like on the picture, make a small canvas with UI elements and deactivate it on runtime. Activate it again when you touch the spot, deactivate it when you touch somewhere else.

Or you can use multiple cameras or culling to simply hide it instead of activate/deactivate it.
« Last Edit: January 05, 2017, 06:22:49 AM by krmko »
Available for Playmaker work