5 lines
179 B
GDScript3
5 lines
179 B
GDScript3
|
|
extends Node3D
|
||
|
|
|
||
|
|
func _ready() -> void:
|
||
|
|
%PlayerDetect.body_entered.connect(func(body): if visible and body is PlayerController: State.room.proceed.emit(Main.adulthood_room_path))
|