PlayerCharacterStats.race
public GDTKRace race { get; set; }Description#
Gets/Sets the Race for the object
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(PlayerCharacterStats source) { GDTKRace race = source.database.races[0]; if(source.race != race) { source.race = race; } }
}