editing scenes and UI
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user