// Start is called before the first frame update void Start() { xpBeforeGame = XPManager.GetStoredXP(); xpAfterGame = xpBeforeGame + XPManager.GetEarnedXP(); XPManager.StoreEarnedXP(); round = SessionManager.currentRound; SceneManager.sceneLoaded += OnLevelLoad; DontDestroyOnLoad(gameObject); }