예제 #1
0
 public void decreaseInstrument(VuforiaObjectTest.InstrumentType type)
 {
     if (instrumentCounts.ContainsKey(type))
     {
         instrumentCounts[type]--;
     }
 }
예제 #2
0
 public void increaseInstrument(VuforiaObjectTest.InstrumentType type)
 {
     if (instrumentCounts.ContainsKey(type))
     {
         instrumentCounts[type]++;
     }
     else
     {
         // this is the first time an instrument of this type is encountered
         instrumentCounts[type] = 1;
     }
 }