Refactorisation

This commit is contained in:
2023-10-23 11:56:24 +02:00
parent 18237e3a0b
commit 600545e0f1
31 changed files with 102 additions and 102 deletions
+2 -2
View File
@@ -2,13 +2,13 @@ using UnityEngine;
public class UpgradesData : MonoBehaviour
{
[SerializeField] private TextAsset upgradesJSON;
[SerializeField] private TextAsset _upgradesJSON;
public Upgrades upgrades;
private void Awake()
{
upgrades = JsonUtility.FromJson<Upgrades>(upgradesJSON.text);
upgrades = JsonUtility.FromJson<Upgrades>(_upgradesJSON.text);
}
}