using System.Collections; using System.Threading.Tasks; using System.Collections.Generic; using UnityEngine; public class UIAbout : UICanvas { [SerializeField] UICanvas background; [SerializeField] UICanvas infoButton; [SerializeField] UICanvas menu; [SerializeField] UICanvas aboutCPPK; [SerializeField] UICanvas aboutGRAFF; public void ShowAboutCPPK() { menu.OnHide.RemoveAllListeners(); menu.OnHide .AddListener(() => aboutCPPK.gameObject.SetActive(true)); } public void ShowAboutGRAFF() { menu.OnHide.RemoveAllListeners(); menu.OnHide .AddListener(() => aboutGRAFF.gameObject.SetActive(true)); } }