PlayerCharacterStats.KnowsLanguage
Declaration#
public bool KnowsLanguage(string id)Parameters#
| Name | Description |
|---|---|
| id | Id of the Language to check for |
Description#
True if object has a Language with the provided id.
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{ public void ExampleMethod(PlayerCharacterStats target) { bool result = target.KnowsLanguage(StatsDatabaseV2.languages[0].info.id); }}