26 lines
621 B
C#
26 lines
621 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
|
|
.AddListener(() => aboutCPPK.gameObject.SetActive(true));
|
|
}
|
|
|
|
public void ShowAboutGRAFF()
|
|
{
|
|
menu.OnHide
|
|
.AddListener(() => aboutGRAFF.gameObject.SetActive(true));
|
|
}
|
|
} |