protected override void OnClick() { if (url != "") { Application.OpenURL(url); PlayerPrefs.SetInt("menuTimes", -1); } if (never) { PlayerPrefs.SetInt("menuTimes", -1); } popToEnable.Enable(); popToDisable.TurnOff(); }
protected override void OnClick() { if (popUpToEnable) { popUpToEnable.Enable(); Animation popAnim = popUpToEnable.GetComponent <Animation>(); if (popAnim) { popAnim.Play(); } } if (popUpToDisable) { popUpToDisable.TurnOff(); } }
private void AfterOver() { spController.enabled = false; curtain.Anim(); overPop.Enable(); }