Example #1
0
    void Awake()
    {
        GlobalControl gc = GlobalControl.Instance;

        print(gc.ToString());
        localPlayerData = gc.savedPlayerData;
        //Get the ingredientsOnHand from the global controller
        localPlayerData = GlobalControl.Instance.savedPlayerData;
        UpdateBalance();
    }