light controllers
This commit is contained in:
parent
3ee2cffa37
commit
dba0d65b25
8 changed files with 117 additions and 28 deletions
7
Scripts/LightController.gd
Normal file
7
Scripts/LightController.gd
Normal file
|
@ -0,0 +1,7 @@
|
|||
extends Node3D
|
||||
|
||||
func _movement_in(movement, _rate):
|
||||
get_node(movement).visible = true
|
||||
|
||||
func _movement_out(movement, _rate):
|
||||
get_node(movement).visible = false
|
Loading…
Add table
Add a link
Reference in a new issue