First commit for private source control. Older commits available on Github.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AYellowpaper.SerializedCollections
|
||||
{
|
||||
public class SerializedDictionarySampleTwo : MonoBehaviour
|
||||
{
|
||||
[SerializedDictionary("ID", "Person")]
|
||||
public SerializedDictionary<int, Person> People;
|
||||
|
||||
[System.Serializable]
|
||||
public class Person
|
||||
{
|
||||
public string FirstName;
|
||||
public string LastName;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user