PlayMaker Help & Tips > PlayMaker Help
What is the different between a FsmObject and FsmGameObject?
Disastercake:
What is the different between a FsmObject and FsmGameObject?
Is a FsmObject a generic object variable that can hold any type of component?
jeanfabre:
Hi,
excactly, it can hold any component, including yours. But be careful, it can not reference raw classes, only the one that extend the monobehavior. It's un unfortunate downside, but as is, it will already take you a long long way,
Fsm Object are best used in conjunction with "set property" and "get property".
for a working example of an Fsm Object, look at this post.
http://hutonggames.com/playmakerforum/index.php?topic=1701.msg7467#msg7467
a FsmGameObject is simply a placeHolder to reference a gameObject in the scene, nothing more.
bye,
Jean
Disastercake:
How do I know if one of my scripts extends the monobehaviour?
That's this line of code, right?
--- Code: ---public class MyClass : MonoBehaviour {}
--- End code ---
jeanfabre:
Hi,
Exactly. And of course, all the built Unity component you can get ( they are listed in the drop down)
bye,
Jean
Alex Chouls:
Actually FsmObject supports anything derived from UnityEngine.Object (including MonoBehaviour).
Navigation
[0] Message Index
[#] Next page
Go to full version