Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// int型をキーに、string型を値に設定します。
Dictionary<int, string> itemDict = new Dictionary<int, string>();
// 通常の辞書のようにどちらもstringに。
Dictionary<string, string> normalDict = new Dictionary<string, string>();
// GameObjectも値にできます。
Dictionary<int, GameObject> objDict = new Dictionary<int, GameObject>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment