Skip to main content

GlobalStats.HasFocus

Declaration#

public virtual bool HasFocus(string id)

Parameters#

NameDescription
idId 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);    }}