hi
i was trying to save a gameobject in easy save3 with playmaker, but the problem is, then i use save actio, then load it, the gameobject seems only load the root object, so, dont easy save 3 save all child too? wtf,feelsbadman
plamaker save gameobject problem
Re: plamaker save gameobject problem
Hi there,
Child GameObject are not part of the serialisation tree of a GameObject, as the parent/child relationship is denoted by the parent variable of the child GameObject's Transform component, not by the parent.
You will need to save the parent and it's children separately. Alternatively if you PM me your invoice number, I'll send you a version of the action which automatically saves the children.
All the best,
Joel
Child GameObject are not part of the serialisation tree of a GameObject, as the parent/child relationship is denoted by the parent variable of the child GameObject's Transform component, not by the parent.
You will need to save the parent and it's children separately. Alternatively if you PM me your invoice number, I'll send you a version of the action which automatically saves the children.
All the best,
Joel
-
- Posts: 2
- Joined: Tue Oct 16, 2018 2:36 pm
Re: plamaker save gameobject problem
I sent my invoice number,thx for the quick reply,i realy need that action
Re: plamaker save gameobject problem
Joel wrote:Hi there,
Child GameObject are not part of the serialisation tree of a GameObject, as the parent/child relationship is denoted by the parent variable of the child GameObject's Transform component, not by the parent.
You will need to save the parent and it's children separately. Alternatively if you PM me your invoice number, I'll send you a version of the action which automatically saves the children.
All the best,
Joel
WHAT!! This is exactly what I need, why keep it a secret? Can you please upload this as an example?