文档

Unity Engine

Unity Engine

KeyValue<TKey, TValue>

A key-value pair.
阅读时间1 分钟最后更新于 1 个月前

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.