playMaker

Author Topic: user input string  (Read 5571 times)

zombie_farm

  • Playmaker Newbie
  • *
  • Posts: 39
user input string
« on: February 05, 2014, 07:51:02 PM »
Im trying to allow a user to paste a string into a box that would allow it to go into a string variable.. its going to be a link say to youtube.

Can I do that in PM? I looked around quite a bit.

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: user input string
« Reply #1 on: February 06, 2014, 02:45:02 AM »
Hi,

 a simple Gui text field will work, use the action "GUILayout Text Field" or "GUI text Field". them action will allow to get the content of the field into a playmaker string variable. And Unity GUI is ok with pasting string ( as far as my tests goes)

bye,

 Jean