playMaker

Author Topic: How do you change the Pixel Offset of Text via Playmaker? [SOLVED]  (Read 1857 times)

autumnboy

  • Junior Playmaker
  • **
  • Posts: 73
Hi, I'm trying to put my text in a specific position via some variables but don't know where to plug these variables in via playmaker. Is there a way to do it with GUILayout Begin area?


 
« Last Edit: June 14, 2014, 09:02:43 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: How do you change the Pixel Offset of Text via Playmaker?
« Reply #1 on: June 14, 2014, 12:21:34 AM »
Are you talking about the pixel offset in a GUIText?

If so you can use Set Property to access the pixelOffset property. E.g., drag the GUIText component into the actions panel then find the pixelOffset property in the dropdown.

GUILayout is quite powerful but not very efficient (especially on mobile devices). You can find out more about GUILayout here:
http://docs.unity3d.com/Manual/gui-Layout.html

autumnboy

  • Junior Playmaker
  • **
  • Posts: 73
Re: How do you change the Pixel Offset of Text via Playmaker?
« Reply #2 on: June 14, 2014, 08:50:10 PM »
Awesome, that's what I needed. Thanks!