説明
Numbskull Serialization aims to help new games with implementing a serialization system. The code takes away the hassle of saving a UObject with simple methods like `SaveObjectData` and `SaveObjectDataToDisk`.
The plugin includes simple interfaces objects and Blueprints can subscribe to. Callbacks like `OnSave` allow an object to save itself, or any other object, to disk. Likewise, `OnLoad` can be used to load and apply serialized data.
Saving an object can be written in three lines:
FObjectData ObjectData;
UNumbskullSerializationBPLibrary::SaveObject(this, ObjectData);
UNumbskullSerializationBPLibrary::SaveObjectDataToDisk(FolderPath + TEXT("MyFile.dat"), ObjectData);
The code is also open source and aims to be an expanded example of serializing data in Unreal from Rama's forum posts/tutorials.
含まれる形式
- versions