Skip to content

Instantly share code, notes, and snippets.

View efranford's full-sized avatar

Elliot Franford efranford

View GitHub Profile
@efranford
efranford / ObjectDictionary.cs
Created December 9, 2012 15:21
Unity3D: Class that behaves like a Dictionary<K, V>, but can still be serialized and edited by the Unity Editor.
// Copyright (c) 2012 Calvin Rien
// http://the.darktable.com
//
// This software is provided 'as-is', without any express or implied warranty. In
// no event will the authors be held liable for any damages arising from the use
// of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
// subject to the following restrictions: