Table of Contents

Struct SerializedSwiftSparseMapEntry<T>

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

[Serializable]
public struct SerializedSwiftSparseMapEntry<T>

Type Parameters

T

A Unity-serializable value type.

Inherited Members

Constructors

SerializedSwiftSparseMapEntry(int, T)

Initializes a serialized sparse map entry.

public SerializedSwiftSparseMapEntry(int key, T value)

Parameters

key int

The non-negative integer key.

value T

The entry value.

Properties

Key

Gets or sets the integer key.

public int Key { get; set; }

Property Value

int

Value

Gets or sets the entry value.

public T Value { get; set; }

Property Value

T