playMaker

Author Topic: [Solved] Need help setting up basic text input - font and font color?  (Read 696 times)

createasaurus

  • Full Member
  • ***
  • Posts: 145
    • View Profile
I've been using Playmaker for a while, but this is the first time I'm attempting typed input.

How do I adjust the font?  And font color?  I have never used GUI layout before... I'm fiddling around but I can't get this to work.

I'm experimenting off the example from this link:
http://hutonggames.com/playmakerforum/index.php?topic=4284.0

Thank you!!

« Last Edit: November 21, 2017, 06:35:12 AM by createasaurus »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4815
    • View Profile
    • jinxtergames
Re: Need help setting up basic text input - font and font color?
« Reply #1 on: November 20, 2017, 03:58:31 PM »
Hi,
I think this is the old gui, maybe its better to look into uGui
It has input fields buttons sliders and more.
(in the hierarchy, right click and select Ui to see and select them)

You can find the uGui actions on the Ecosystem
seacrh for "ugui proxy full"


I also made a new action called 'U Gui Text Set Font' if you need to set a font @ runtime

And to set the color @ runtime you can use 'U Gui Graphic Set Color'

To get the text from an inputfield you can use 'U Gui Input Field Get Text'

createasaurus

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Re: Need help setting up basic text input - font and font color?
« Reply #2 on: November 20, 2017, 07:35:55 PM »
Cool!  Thank you for pointing me to uGUI!!  I got it from the Ecosystem and I'm now trying to learn how to use it by reading the Unity documentation.  I'm excited to use your 'U Gui Text Set Font' too.  Thank you!!   ;D
« Last Edit: November 21, 2017, 06:34:47 AM by createasaurus »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4815
    • View Profile
    • jinxtergames
Re: [Solved] Need help setting up basic text input - font and font color?
« Reply #3 on: November 21, 2017, 09:14:34 AM »
Hi,
Happy to help, you can find many tutorials on youtube for ugui, and many are useful even they are not used with Playmaker (like scrolling/dropdown/positioning/many more..)