14 lines
249 B
GDScript
14 lines
249 B
GDScript
extends SwitchBasic
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
add_to_group("switch_override")
|
|
|
|
func interact():
|
|
switch()
|
|
|
|
func _on_static_body_3d_switch_hit() -> void:
|
|
if bullet_enabled:
|
|
switch()
|