Jump to content

[SOLVED] How to Save Variable *data in Node?


photo

Recommended Posts

Posted

not found Save Variable *data In Node::SaveWorld

 

but

 

found Save Variable *data In Node::saveState.

 

why ?

 

please explain me.

 

i want Save Node Extra Info ( Variable Data List ).

 

How to Save Node Extra Info , Right Way?

Posted

It is better to store extra data you want to associate with a node in a property. Properties can be easily accessed and modified both from a script and from the editor. Simply use Property class and Node::setProperty().

×
×
  • Create New...