playMaker

Author Topic: user input string  (Read 3511 times)

zombie_farm

  • Playmaker Newbie
  • *
  • Posts: 37
    • View Profile
user input string
« on: February 05, 2014, 05: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: 14109
  • Official Playmaker Support
    • View Profile
Re: user input string
« Reply #1 on: February 06, 2014, 12: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