Ejemplo n.º 1
0
 // when passing by an item, spoons will try to grab it if he is ready
 public void handleCollection(Collectable item)
 {
     if(p_spoon.isActive())
     {
         item.setCollected();
         Destroy(item.gameObject);
     }
 }