StatsAndEffects.HasFocus
Declaration#
public virtual bool HasFocus(string id)Parameters#
| Name | Description |
|---|---|
| id | Id of the Focus to find |
Description#
Check if object has a specific Focus
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{ public void ExampleMethod(GlobalStats target, string focusId) { bool result = target.HasFocus(focusId); }}