Skip to content

Commit f4a56d6

Browse files
authored
Fix missing signal connections in C# demos (#1307)
1 parent 045a68c commit f4a56d6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

mono/dodge_the_creeps/Main.tscn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ stream = ExtResource("5_dnvwy")
5050
[node name="DeathSound" type="AudioStreamPlayer" parent="." unique_id=693847821]
5151
stream = ExtResource("5_r2snl")
5252

53+
[connection signal="Hit" from="Player" to="." method="GameOver"]
5354
[connection signal="timeout" from="MobTimer" to="." method="OnMobTimerTimeout"]
5455
[connection signal="timeout" from="ScoreTimer" to="." method="OnScoreTimerTimeout"]
5556
[connection signal="timeout" from="StartTimer" to="." method="OnStartTimerTimeout"]
57+
[connection signal="StartGame" from="HUD" to="." method="NewGame"]

mono/squash_the_creeps/Main.tscn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,5 @@ grow_horizontal = 2
151151
grow_vertical = 2
152152
text = "Press Enter to retry"
153153

154+
[connection signal="Hit" from="Player" to="." method="OnPlayerHit"]
154155
[connection signal="timeout" from="MobTimer" to="." method="OnMobTimerTimeout"]

0 commit comments

Comments
 (0)