Skip to main content

StatsDatabase.GetAttribute

Declaration#

public GDTKAttribute GetAttribute(string id)

Parameters#

NameDescription
idId of object to retrieve

Description#

Get an Attribute by Id

Usage#

Example
using NullSave.GDTK;using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(StatsDatabase target, string id)    {        GDTKAttribute result = target.GetAttribute(id);    }
}