playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Updates & Downloads
»
Share New Actions
(Moderator:
600
) »
Set Object Value Advance
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Set Object Value Advance (Read 2982 times)
dudebxl
Hero Member
Posts: 602
Set Object Value Advance
«
on:
December 09, 2015, 09:38:48 PM »
Set an Fsm object variable from a gameobject by name. You can set anything as an Fsm object (script, behaviour, component, etc) as long as it has a name (and your fsm object is set to the same type).
Very good for when using FSM template as it sets the object automatically by name and not by drag&drop.
Note
: No space in name and capital letter reflection must be followed. Example: 'Mesh Renderer' is the name of element; input into action Object Name field as 'MeshRenderer'.
On ecosystem or
https://snipt.net/dudebxl/
Hope it helps.
«
Last Edit: December 09, 2015, 10:14:14 PM by dudebxl
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15620
Official Playmaker Support
Re: Set Object Value Advance
«
Reply #1 on:
December 14, 2015, 06:02:49 AM »
Hi,
Just a warning, that this action may result in failed publication on mobile if the component targeted isn't included by default when Unity compiles, which means you'll need to add it the link.xml file.
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Updates & Downloads
»
Share New Actions
(Moderator:
600
) »
Set Object Value Advance