Skip to main content

PlayerCharacterStats.Initialize

Declaration#

public virtual void Initialize(bool reset)

Parameters#

NameDescription
resetReset the values of any previously initialized Stats.

Description#

Initialize the object. This is done automatically on Awake.

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(PlayerCharacterStats target, string filename)    {        target.Initialize(false);    }
}