Files
beyond/Assets/Scripts/Tutorial/PlayerGUIStep.cs
2024-11-20 15:21:28 +01:00

21 lines
630 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Beyond
{
public class PlayerGUIStep : MonoBehaviour
{
public BaseStepController baseStepController;
public GameObject questLogPopusToDisable;
public Image menuButonDisable;
// Start is called before the first frame update
private void Start()
{
baseStepController.ConditionsAreMet += () => true;
baseStepController.OnStarted += () => { questLogPopusToDisable.SetActive(false); menuButonDisable.raycastTarget = false; };
}
}
}