GameFilesWriteToXmlFileT Method |
Only Public properties and variables will be written to the file. These can be any type though, even other classes.
If there are public properties/variables that you do not want written to the file, decorate them with the [XmlIgnore] attribute.
Object type must have a parameterless constructor.
Namespace: GeonBit.Managers
public void WriteToXmlFile<T>( string filePath, T objectToWrite )