Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


KeyValue<TKey, TValue>

A key-value pair.
Read time 1 minuteLast updated 12 days ago

Definition

public struct KeyValue<TKey, TValue> where TKey : unmanaged, IEquatable<TKey> where TValue : unmanaged

Remarks

Used for enumerators.

Properties

Property

Description

KeyThe key.
ValueValue of key/value pair.

Static Properties

Property

Description

NullAn invalid KeyValue.

Methods

Method

Description

GetKeyValueGets the key and the value.