Event Go To
This commit is contained in:
@@ -7,10 +7,11 @@ const PauseSystem = preload("res://scripts/Singleton/Pause.gd")
|
||||
@export var includeInteractee:bool = true
|
||||
@export var includeInteractor:bool = true
|
||||
|
||||
func start() -> void:
|
||||
func end() -> void:
|
||||
super.end()
|
||||
var ents:Array[Entity] = entities
|
||||
if interactor && includeInteractor && interactor.entity:
|
||||
ents.append(interactor.entity)
|
||||
if interactee && includeInteractee && interactee.entity:
|
||||
ents.append(interactee.entity)
|
||||
PAUSE.pause(pauseType, ents)
|
||||
PAUSE.pause(pauseType, ents)
|
Reference in New Issue
Block a user