Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | slacke |
instead of using _process on every object is it optimize to use your core code emit_signal to other object every frame ?
like this
#Core.gd
signal FramePassed
func _process(delta):
emit_signal("FramePassed",delta)
Core.gd will emit signal every frame
#A.gd
func _on_Core_FramePassed(delta):
#do stuff
A.gd receive signal then do stuff