[SerializeField]
Transform firstCheckpoint;
- Cheese cheese;
+ CheeseCollection cheese;
CheeseCoin cheeseCoin;
public bool isCheeseCoinCollected;
-
void Awake()
{
if (instance == null)
{
PlayerData data = SaveSystem.LoadPlayer();
- cheese.cheesecount = data.collectedCheese;
cheeseCoin.cheeseCoinCollected = data.isCheeseCoinCollected;
Vector3 position;