예제 #1
0
    void Start()
    {
        Item sword = new Item();

        sword.name = "Sword";
        sword.id   = 0;
        itemDictionary.Add(0, new Item());
    }
예제 #2
0
 public void AddState()
 {
     states.Add(states.GetType(), state);
 }