summaryrefslogtreecommitdiffstats
path: root/Main.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Main.gd')
-rw-r--r--Main.gd7
1 files changed, 7 insertions, 0 deletions
diff --git a/Main.gd b/Main.gd
new file mode 100644
index 0000000..15acb18
--- /dev/null
+++ b/Main.gd
@@ -0,0 +1,7 @@
+extends Spatial
+
+func _on_lower_deck_trigger_exited():
+ $"Water".visible = true
+
+func _on_lower_deck_trigger_entered():
+ $"Water".visible = false