Skip to main content

ISavable<T>

An interface in Root.Township, the global namespace.

Implement on a NetworkEntityBehaviour to have its state saved with the entity and loaded back. Server only.

Methods​

MemberWhat it is
void Load(T data, ISerializeChildren childSerializer)Server: restores the component from loaded save data, after any migration from older versions.