Ejemplo n.º 1
0
    public void SkipPolicy()
    {
        GameManager.Instance.SkipPolicy();

        PolicyDimmer.SetActive(true);
        PolicyAvailable.SetActive(false);
        UpdatePolicyGachaCount();
    }
Ejemplo n.º 2
0
    public void UpdatePolicyGachaCount()
    {
        PolicyGachaText.text = (GameManager.Instance.PolicyThreshold - GameManager.Instance.PolicyCount).ToString();

        if (GameManager.Instance.PolicyCount == GameManager.Instance.PolicyThreshold)
        {
            PolicyDimmer.SetActive(false);
            PolicyAvailable.SetActive(true);
            UpdatePolicy();
        }
        else if (GameManager.Instance.PolicyCount < GameManager.Instance.PolicyThreshold)
        {
            PolicyDimmer.SetActive(true);
            PolicyAvailable.SetActive(false);
        }
    }