Re-scaled environment models imported and implemented.
This commit is contained in:
@@ -56,17 +56,17 @@ public partial class GalleryMenu : Control
|
||||
|
||||
public void OnReady()
|
||||
{
|
||||
GalleryData = new GalleryData() { PlaceholderImage1 = true };
|
||||
BackButton.Pressed += BackButton_Pressed;
|
||||
GalleryData = new GalleryData() { PlaceholderImage1 = true };
|
||||
BackButton.Pressed += BackButton_Pressed;
|
||||
}
|
||||
|
||||
public override void _Input(InputEvent @event)
|
||||
{
|
||||
if (!Visible)
|
||||
return;
|
||||
if (!Visible)
|
||||
return;
|
||||
|
||||
if (@event.IsActionPressed(GameInputs.Interact))
|
||||
BackButton.GrabFocus();
|
||||
if (@event.IsActionPressed(GameInputs.Interact))
|
||||
BackButton.GrabFocus();
|
||||
}
|
||||
|
||||
private void BackButton_Pressed() => EmitSignal(SignalName.GalleryExited);
|
||||
|
||||
Reference in New Issue
Block a user