Game Development Reference
In-Depth Information
After finding each of the specific nodes, we assign InnerText with the value asso-
ciating nodes with the current enemy GameObject. Once all the nodes have been
assigned, we append the eBase node to the root node. We do this process for each
of the GameObjects within the enemies' GameObject array, saving the data for each
of them.
Finally, to end the function, we call the Save function of our xEnemy XML document
and save the data to our EnemyData XML document.
Search WWH ::




Custom Search