This commit is contained in:
joylink_zhaoerwei 2024-07-15 14:18:28 +08:00
parent e3451a90b6
commit 509e16aced
2 changed files with 4 additions and 1 deletions

View File

@ -82,6 +82,7 @@ func _on_picketline_model_at_b_area_3d_input_event(camera: Node, event: InputEve
if !allowHandle :
return
$picketlineModelAtB.visible = false
$picketlineModelAtB/redStripe.position.y = -30
func _on_picketline_model_at_a_area_3d_input_event(camera: Node, event: InputEvent, position: Vector3, normal: Vector3, shape_idx: int) -> void:
@ -90,6 +91,7 @@ func _on_picketline_model_at_a_area_3d_input_event(camera: Node, event: InputEve
if !allowHandle :
return
$picketlineModelAtA.visible = false
$picketlineModelAtA/redStripe.position.y = -30
func _on_picketline_model_at_gate_b_area_3d_input_event(camera: Node, event: InputEvent, position: Vector3, normal: Vector3, shape_idx: int) -> void:
@ -98,6 +100,7 @@ func _on_picketline_model_at_gate_b_area_3d_input_event(camera: Node, event: Inp
if !allowHandle :
return
$picketlineModelAtGateB.visible = false
$picketlineModelAtGateB/redStripe.position.y = -30
func _on_picketline_model_at_gate_a_area_3d_input_event(camera: Node, event: InputEvent, position: Vector3, normal: Vector3, shape_idx: int) -> void:
@ -106,6 +109,7 @@ func _on_picketline_model_at_gate_a_area_3d_input_event(camera: Node, event: Inp
if !allowHandle :
return
$picketlineModelAtGateA.visible = false
$picketlineModelAtGateA/redStripe.position.y = -30
func _on_notice_signs_model_at_a_entrance_area_3d_input_event(camera: Node, event: InputEvent, position: Vector3, normal: Vector3, shape_idx: int) -> void:

View File

@ -740,7 +740,6 @@ func nextStep():
await voiceCommunication.speech_record_check(step.checkVoice)
if !step.has('notNestStepAfterFinisnCheckVoice') :
nextStep()
nextStep()
if !step.has('doAfterFinisnCheckVoice') :
step['doAfterFinisnCheckVoice'].call()
if step.play: