Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: autumnboy on June 13, 2014, 08:17:47 PM

Title: How do you change the Pixel Offset of Text via Playmaker? [SOLVED]
Post by: autumnboy on June 13, 2014, 08:17:47 PM
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?


 
Title: Re: How do you change the Pixel Offset of Text via Playmaker?
Post by: Alex Chouls 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
Title: Re: How do you change the Pixel Offset of Text via Playmaker?
Post by: autumnboy on June 14, 2014, 08:50:10 PM
Awesome, that's what I needed. Thanks!