Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Nightreaver on January 14, 2013, 09:15:33 AM
-
So, i want to know what is the right way from an FsmVariable to Object-Prefab (NGUI UIFont)?
currently im doing
...
public FsmObject font;
Object realFont = font.Value;
lbl.font = realFont as UIFont;
...
but i doesnt work, the result is always UnityEnginge.GameObject instead of UIFont.
what is wrong here?
Thanks