Пример #1
0
    private void Start()
    {
        gameManager = GameManager.S;
        uiManager   = UIManager.S;

        if (PlayerPrefs.HasKey(currentMesh.ToString()))
        {
            isBay = true;
            price = 0;
        }

        if (price > 0)
        {
            textPrice.text = price.ToString();
        }
        else
        {
            textPrice.text    = "";
            disactive.enabled = false;
        }
    }