Beispiel #1
0
    // Callback for when the player collects the item.
    private void Claim(NamedEvent item)
    {
        string identifier = item.GetName();

        itemText.Appear(identifier);
        player.AddItemVisualEffect(identifier);
        pool.Claim(item);
    }
Beispiel #2
0
 private void Claim(NamedEvent item)
 {
     itemText.Appear(item.GetName());
     pool.Claim(item);
 }