Skip to main content

BasicStats.HasFocuses

Declaration#

public virtual bool HasFocuses(List<string> ids)

Parameters#

NameDescription
idsList of Focuses to check

Description#

Check if object has a list Focuses

Usage#

Example
using NullSave.GDTK.Stats;using System.Collections.Generic;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(BasicStats target)    {        List<string> focuses = new List<string>();        focuses.Add("focus1");        focuses.Add("focus2");
        bool result = target.HasFocuses(focuses);    }
}