look like it works now, i did a workaround, dunno what this issue was 💀
This commit is contained in:
parent
7584cf0b19
commit
8c0860a840
8 changed files with 64 additions and 44 deletions
|
|
@ -4,6 +4,7 @@ signal activate_seg(int)
|
|||
|
||||
var current_seg : Node2D
|
||||
var cur_id : int = 0
|
||||
var player_mode : bool = false
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
|
|
@ -12,4 +13,5 @@ func _ready() -> void:
|
|||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
if (Input.is_action_just_pressed("test_switch_cam")):
|
||||
player_mode = !player_mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue