Exemplo n.º 1
0
    void OnTweenTweenCompleted(object @object, NodePath key)
    {
        PlayerStats.gold  -= goldCost;
        PlayerStats.genes -= geneCost;

        dinoInfo.Upgrade(statButtonMode);
        Events.publishDinoUpgraded();

        StopUpgrading();
        DoEverything();
    }