Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Ingsoc75 on November 16, 2017, 04:00:54 PM
-
I've gone through tutorials where I can use a uGUI button to make other objects do things but I can't seem to figure out this:
How can I have an object (like a mesh) be a button to control another object?
-
Hi,
Can you give a link to the tutorial?
You can find many tutorials here to get to know playmaker :
https://hutonggames.fogbugz.com/default.asp?W548
http://www.hutonggames.com/tutorials_game_design_with_playmaker.php
-
This one uses a uGUI button to open a door:
https://www.youtube.com/watch?v=aqI7RxBImZM&t=299s (https://www.youtube.com/watch?v=aqI7RxBImZM&t=299s)
-
Anybody have an idea on how to do this?
-
Hi,
You can get the "ugui proxy full" from the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181)
or to send an event you can do this :
on the "button component" @ the 'On Click ()' click on +
Then below "Runtime Only" drop in the game object with the fsm that you want to send an event to.
Then Click on "No Function" and select 'PlayMaker FSM/Send Event.
The Below that, place the event name that you want to send.