Started implementing SFX
Fixed Shield animation jumps and secondary attack Fixed demon wall stone behavior Made overworld ambient sounds unpausable
This commit is contained in:
@@ -18,17 +18,6 @@ public partial class InventoryMessageUI : Control
|
||||
_labelSettings = GD.Load<LabelSettings>("res://src/ui/label_settings/InventoryFullAlertLabelSetting.tres");
|
||||
}
|
||||
|
||||
public async void DisplayInventoryFullMessage(string rejectedItemName)
|
||||
{
|
||||
var newLabel = new Label() { Text = $"Could not pick up {rejectedItemName}.", LabelSettings = _labelSettings };
|
||||
MessageBox.AddChild(newLabel);
|
||||
|
||||
GetTree().CreateTimer(3f).Timeout += () =>
|
||||
{
|
||||
MessageBox.RemoveChild(newLabel);
|
||||
};
|
||||
}
|
||||
|
||||
public async void DisplayMessage(string message)
|
||||
{
|
||||
var newLabel = new Label() { Text = message, LabelSettings = _labelSettings };
|
||||
|
||||
Reference in New Issue
Block a user