Skip to main content

ISavingContext

An interface in Root.Township, the global namespace.

A savable component that must be active while its prefab's children are saved or loaded. NetworkPrefab pushes every one it finds before handling children and pops them after. GlobalLogicManager uses it.

Methods​

MemberWhat it is
void PopContext()Called after the prefab's children are done; leaves the context.
void PushContext()Called before the prefab's children are serialized; enters the context.

Used in​

Members of other types that take, return or hold a ISavingContext: