Table of Contents

Namespace SwiftCollections.Unity

The serialization adapters persist supported collection shapes through Unity field serialization and expose live SwiftCollections instances through their Runtime properties.

Use them for authored scenes, prefabs, MonoBehaviours, and ScriptableObjects. Use the engine-agnostic state and serializer contracts for network, replay, and standalone persistence.

Classes

SerializedSwiftArray2D<T>

Unity-serializable adapter for persisted authoring data that is consumed as a SwiftArray2D<T>.

SerializedSwiftArray3D<T>

Unity-serializable adapter for persisted authoring data that is consumed as a SwiftArray3D<T>.

SerializedSwiftBiDictionary<TLeft, TRight>

Unity-serializable adapter for persisted two-way lookup data consumed as a SwiftBiDictionary<T1, T2>.

SerializedSwiftDictionary<TKey, TValue>

Unity-serializable adapter for persisted authoring data that is consumed as a SwiftDictionary<TKey, TValue>.

SerializedSwiftList<T>

Unity-serializable adapter for persisted authoring data that is consumed as a SwiftList<T>.

SerializedSwiftSparseMap<T>

Unity-serializable adapter for persisted compact integer-ID values consumed as a SwiftSparseMap<T>.

SerializedSwiftSparseSet

Unity-serializable adapter for persisted compact integer-ID membership consumed as a SwiftSparseSet.

Structs

SerializedSwiftBiDictionaryEntry<TLeft, TRight>

Unity-serializable two-way key/value entry used by SerializedSwiftBiDictionary<TLeft, TRight>.

SerializedSwiftDictionaryEntry<TKey, TValue>

Unity-serializable key/value entry used by SerializedSwiftDictionary<TKey, TValue>.

SerializedSwiftSparseMapEntry<T>

Unity-serializable integer key/value entry used by SerializedSwiftSparseMap<T>.