Beispiel #1
0
    private void Awake()
    {
        instance = this;
        if (!PlayerPrefs.HasKey("_tut1"))
        {
            CanvasController.instance.OpenCanvas(PrivatePolicy_ui);
        }
        Application.targetFrameRate = 60;
        bool b = DataSave.IsSaveExists();

        //ContinueButton.interactable = b;
        ContinueButton.GetComponentInChildren <Text>().color = b ? new Color(1, 1, 1, 1) : new Color(1, 1, 1, 0.7f);

        if (PlayerPrefs.HasKey(_shareKey))
        {
            AddICBuyShare.SetActive(false);
        }
    }