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

24 lines
679 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Beyond
{
public class AttackStep : MonoBehaviour
{
[SerializeField]
private bMeleeCombatInput bMeleeCombatInput;
public BaseStepController baseStepController;
public ScrollRect scrollRectToDisable;
private void Start()
{
// baseStepController.OnStarted += () => scrollRectToDisable.enabled=false;
baseStepController.ConditionsAreMet += () => bMeleeCombatInput.isAttacking;
// baseStepController.OnCompleted += () => scrollRectToDisable.enabled = true;
}
}
}