Example #1
0
    protected override void OnClick()
    {
        if (url != "")
        {
            Application.OpenURL(url);
            PlayerPrefs.SetInt("menuTimes", -1);
        }
        if (never)
        {
            PlayerPrefs.SetInt("menuTimes", -1);
        }

        popToEnable.Enable();
        popToDisable.TurnOff();
    }
Example #2
0
    protected override void OnClick()
    {
        if (popUpToEnable)
        {
            popUpToEnable.Enable();
            Animation popAnim = popUpToEnable.GetComponent <Animation>();
            if (popAnim)
            {
                popAnim.Play();
            }
        }

        if (popUpToDisable)
        {
            popUpToDisable.TurnOff();
        }
    }
Example #3
0
 private void AfterOver()
 {
     spController.enabled = false;
     curtain.Anim();
     overPop.Enable();
 }