20 lines
409 B
C#
20 lines
409 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace AYellowpaper.SerializedCollections
|
||
|
{
|
||
|
[System.Serializable]
|
||
|
public struct SerializedKeyValuePair<TKey, TValue>
|
||
|
{
|
||
|
public TKey Key;
|
||
|
public TValue Value;
|
||
|
|
||
|
public SerializedKeyValuePair(TKey key, TValue value)
|
||
|
{
|
||
|
Key = key;
|
||
|
Value = value;
|
||
|
}
|
||
|
}
|
||
|
}
|