StatsAndEffects.GetFocusLevel
Declaration#
public virtual Int32 GetFocusLevel(string id)Parameters#
| Name | Description |
|---|---|
| id | Id 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); }}