diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2022-09-16 08:45:53 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2022-09-16 08:45:53 -0400 |
commit | 0b7daa101c282fe83b6d75b080e25d0e2147253f (patch) | |
tree | 04b5af2ed9dddbcb2dc765c28b1af22de74d40f5 /Main.gd | |
parent | f8d1f2dc1bd6356c33d023629fbef27f362c7aa2 (diff) | |
download | godot_wildjam_49-0b7daa101c282fe83b6d75b080e25d0e2147253f.tar.gz godot_wildjam_49-0b7daa101c282fe83b6d75b080e25d0e2147253f.zip |
Add Trigger in lower hallway to hide water below deck
Diffstat (limited to 'Main.gd')
-rw-r--r-- | Main.gd | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +extends Spatial + +func _on_lower_deck_trigger_exited(): + $"Water".visible = true + +func _on_lower_deck_trigger_entered(): + $"Water".visible = false |