playMaker

Author Topic: Text Area GUI Appear and Hide [SOLVED]  (Read 2567 times)

Kitsunebi

  • Playmaker Newbie
  • *
  • Posts: 7
Text Area GUI Appear and Hide [SOLVED]
« on: May 20, 2013, 11:34:59 AM »
Hello!
I'm working on a game the requires a player Journal.
I already have a GUI texture set up as a button that I want the player to be able to click and have the Text Area pop up and they can type into it.  Then click the Gui Texture  button and it hides the Text Area until the button is clicked again.
I was looking in Playmaker for a Text Area Action and Could only find Text Label and Text Field
Is there another way to do something like this?
Playmaker has been great for everything else I've needed to create so far :)
Thank you for any assistance.  Greatly Appreciated!

K
« Last Edit: May 25, 2013, 05:33:16 PM by Alex Chouls »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Text Area GUI Appear and Hide
« Reply #1 on: May 21, 2013, 02:49:45 AM »
Hi,

 not a problem :)

 please find a package with a scene featuring a text field that "expands height", so it will have more than one line.

 to change the heigth of the text area, you simply change the "height" properly of the action "GUILayout Begin Area" and the text height will adjust in real time if you change it during the game play.

bye,

 Jean

Kitsunebi

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Text Area GUI Appear and Hide
« Reply #2 on: May 25, 2013, 09:56:21 AM »
Jean!
As always you are brilliant! Thank you so much!
K