Restructured for new direction.
This commit is contained in:
@@ -70,6 +70,8 @@ namespace BriarQueen.UI.Menus
|
||||
|
||||
private Sequence _sequence;
|
||||
|
||||
public bool IsOpen => _isOpen;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
if (_confirmButton != null) _confirmButton.onClick.AddListener(Confirm);
|
||||
@@ -104,6 +106,11 @@ namespace BriarQueen.UI.Menus
|
||||
CloseAsync().Forget();
|
||||
}
|
||||
|
||||
public void CancelFromBack()
|
||||
{
|
||||
Cancel();
|
||||
}
|
||||
|
||||
public void CloseImmediate()
|
||||
{
|
||||
StopAnim();
|
||||
@@ -338,4 +345,4 @@ namespace BriarQueen.UI.Menus
|
||||
_root = gameObject;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user