Fixed #4
This commit is contained in:
parent
f8c7b38678
commit
7a9a5170ed
@ -16,7 +16,7 @@ ClassPrefix=""
|
|||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="Hellswipers"
|
config/name="Hellswipers"
|
||||||
config/version="1.2.0"
|
config/version="1.2.1"
|
||||||
run/main_scene="res://main_menu/main_menu.tscn"
|
run/main_scene="res://main_menu/main_menu.tscn"
|
||||||
config/features=PackedStringArray("4.2", "C#", "Mobile")
|
config/features=PackedStringArray("4.2", "C#", "Mobile")
|
||||||
boot_splash/show_image=false
|
boot_splash/show_image=false
|
||||||
|
@ -23,7 +23,7 @@ public partial class Game {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void _UnhandledInput(InputEvent ev) {
|
public override void _Input(InputEvent ev) {
|
||||||
if (ev is InputEventMouseButton evm) {
|
if (ev is InputEventMouseButton evm) {
|
||||||
if (ev.IsPressed())
|
if (ev.IsPressed())
|
||||||
_swipeStart = evm.Position;
|
_swipeStart = evm.Position;
|
||||||
@ -42,5 +42,4 @@ public partial class Game {
|
|||||||
GetTree().ChangeSceneToPacked(ResourceLoader.Load<PackedScene>("res://main_menu/main_menu.tscn"));
|
GetTree().ChangeSceneToPacked(ResourceLoader.Load<PackedScene>("res://main_menu/main_menu.tscn"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user