Example #1
0
    protected override void Pick(GameObject picker)
    {
        LogsManager.SendLogDirectly(new Log(
                                        LogType.BuffCollected,
                                        new Dictionary <string, string>()
        {
            { "buff", buffToGive.name }
        }
                                        ));

        CharacterClass characterClass = picker.GetComponent <CharacterClass>();

        characterClass.AddBuff(buffToGive);
    }