コード例 #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();
    }
コード例 #2
0
    protected override void OnClick()
    {
        if (popUpToEnable)
        {
            popUpToEnable.Enable();
            Animation popAnim = popUpToEnable.GetComponent <Animation>();
            if (popAnim)
            {
                popAnim.Play();
            }
        }

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