Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: giordano on July 17, 2011, 04:47:05 AM
-
Sorry if I have missed something in the Docs, but I have a FSM that is a component on several different prefabs. Is there a way of creating a "master" FSM that I would edit and whose edits are reflected in each of its instances? (In the same way that if I have a single script attached to a number of Game Objects, when I edit the script it is updated in all of its instances)
cheers
-
Hi,
Could you maybe have this fsm in its own prefab that in turn is used in other prefabs? that's how I would try to get around this.
Bye,
Jean
-
unfortunately Unity does not support nested prefabs so this would not work... which is a shame as it would be an ideal solution otherwise..
-
Well I think global variables will be implemented at some point and I think that will solve a lot of these types of situations. I guess being able to have an instance of an FSM across several gameobjects where if one instance is updated all the other ones are too would be cool.
-
Uhm, did not know about the impossibility to nest prefabs... not good.
Bye,
Jean