21 lines
538 B
C#
21 lines
538 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using UnityEngine;
|
|
|
|
namespace AYellowpaper.SerializedCollections
|
|
{
|
|
[Conditional("UNITY_EDITOR")]
|
|
public class SerializedDictionaryAttribute : Attribute
|
|
{
|
|
public readonly string KeyName;
|
|
public readonly string ValueName;
|
|
|
|
public SerializedDictionaryAttribute(string keyName = null, string valueName = null)
|
|
{
|
|
KeyName = keyName;
|
|
ValueName = valueName;
|
|
}
|
|
}
|
|
} |