123456789101112131415161718192021 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class UI_Script : MonoBehaviour
- {
- private Canvas canvas;
-
- // Start is called before the first frame update
- void Start()
- {
- canvas = GetComponent<Canvas>();
- }
- // Update is called once per frame
- void Update()
- {
- canvas.enabled = !Static_GlobalStats.paused;
- }
- }
|