1234567891011121314151617181920 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class ConditionsApplyButtonHandler : MonoBehaviour {
- // Use this for initialization
- void OnClick () {
- if (PlayerPrefs.GetInt("FirstEnter") == 1)
- {
- transform.parent.GetComponent<ScreenBase>().Hide();
- }
- }
-
- // Update is called once per frame
- void Update () {
-
- }
- }
|