Exemplo n.º 1
0
 void destroyNode(string key)
 {
     feedbackDisplay.addFeedback(getKeyValue(key));
     try
     {
         GameObject obj = timing[key][0];
         Destroy(obj);
         timing["Flawless"].Remove(obj);
         timing["Great"].Remove(obj);
         timing["Good"].Remove(obj);
         timing["Miss"].Remove(obj);
     }
     catch (System.NullReferenceException e) { }
 }