23 lines
498 B
C#
23 lines
498 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace Beyond
|
|
{
|
|
public class CloseWindowStep : MonoBehaviour
|
|
{
|
|
public BaseStepController baseStepController;
|
|
public MenuScroll menuScroll;
|
|
|
|
private void Start()
|
|
{
|
|
baseStepController.ConditionsAreMet += () => !menuScroll.m_isOpen;
|
|
}
|
|
|
|
// Update is called once per frame
|
|
private void Update()
|
|
{
|
|
}
|
|
}
|
|
} |