28 lines
705 B
C#
28 lines
705 B
C#
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));
|
|
}
|
|
} |