Skip to main content

StatsAndEffects.GetFocusLevel

Declaration#

public virtual Int32 GetFocusLevel(string id)

Parameters#

NameDescription
idId of the Focus to get level for

Description#

Get the level of a Focus available on this object by id

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{    public void ExampleMethod(GlobalStats target, string focusId)    {        int result = target.GetFocusLevel(focusId);    }}