StatsAndEffects.GetFocus
Declaration#
public virtual GDTKFocus GetFocus(string id)Parameters#
| Name | Description |
|---|---|
| id | Id of the Focus to find |
Description#
Get 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) { GDTKFocus result = target.GetFocus(focusId); }}