PlayerCharacterStats.Initialize
Declaration#
public virtual void Initialize(bool reset)Parameters#
| Name | Description |
|---|---|
| reset | Reset 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); }
}