Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: MichaelPatriot21 on June 16, 2019, 09:06:16 PM
-
How do I make ui, like image, draggable by the player? I'm making that you play in a virtual desktop where you can click on buttons to open windows. I want to make the windows draggable like on a real computer.
-
Hi,
you can set a canvas render mode to Worldspace and then it will be sitting in the world like any other gameobject, which means you can then have inside a Panel with some draggable features, just like you have in a flat UI.
There are drag samples on the Ecosystem to learn about dragging and dropping, they apply as is if the canvas render mode is world.
Bye,
Jean
-
I don't quite follow, I'm making a 2d game, in the image attached I'm trying to make the UI, for example the e-mail button, draggable by the player.
-
Hi,
Let me put a drag sample on the Ecosystem and It will be clearer. it will be available tomorrow.
Bye,
Jean