示例#1
0
    private void OnDestroy()
    {
        CleanUpScene();
        UnsubscribeFromEvents();

        dataManager.AddLetters(playerInventory.CollectedLetters);
        dataManager.AddMoney(playerInventory.Money);
    }