PlayerCharacterStats.RemoveLanguage
Declaration#
public virtual bool RemoveLanguage(string id)Parameters#
| Name | Description |
|---|---|
| id | Id of language to remove |
Description#
Removes a language by id
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(PlayerCharacterStats source) { string id = source.database.languages[0].info.id; source.RemoveLanguage(id); }
}