Now I know well about your design for UID.It seems to be my fault to use UID as a serializable property. What I want is to remember what is the current node/fsmstate of one graph,then save game data and serialize certain property of the node .The next runtime session,I deserialize the property, and enter state of the very node/fsmstate .
Now I use the name of the node/fsmstate and serialize it into my own class. When loading save data,I just load graph behaviour ,foreach all nodes and find the very one whose name is the same. I just think this way is not so such smart,and hope to use internal methods .
Again,Thanks for your reply.
Login
Register
By registering on this website you agree to our Privacy Policy.