I'm gonna add a pause menu later and whenever you go back the main menu with that it will save your high score there too.
9 lines
209 B
C#
9 lines
209 B
C#
using Godot;
|
|
using System;
|
|
|
|
public partial class LoadSaveFIle : Control {
|
|
public override void _Ready() {
|
|
Globals.HighScore = int.Parse(BazookaManager.Read(BazookaManager.HighScore, "0"));
|
|
}
|
|
}
|