StatsDatabase.GetPerk
Declaration#
public GDTKPerk GetPerk(string id)Parameters#
| Name | Description |
|---|---|
| id | Id of object to retrieve |
Description#
Get a Perk by Id
Usage#
Example
using NullSave.GDTK;using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(StatsDatabase target, string id) { GDTKPerk result = target.GetPerk(id); }
}