private void Awake() { initialStats = ConfigDirectory.LoadAsset <PlayerStatsData>(cd => cd.ASSET_DEFAULT_STATS); if (playerStatsData == null) { ResetStats(); } else { InitialiseNullStats(); } }
public static PlayerCustomisationData CreateDefault(int index) { return(ConfigDirectory.LoadAsset <PlayerCustomisationData>( cd => cd.FOLDER_DEFAULT_CUSTOMISATION + (index + 1))); }