CozyPixelStudio/Scripts/SecondViewport.gd
OverloadedOrama 5a54235604 Changes to scripts to follow GDScript style guide
Please read here for more info: https://docs.godotengine.org/en/latest/getting_started/scripting/gdscript/gdscript_styleguide.html

This commit does not add/change any new/existing features.
2020-05-01 20:47:10 +03:00

6 lines
155 B
GDScript

extends Viewport
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
world_2d = Global.canvas.get_parent().world_2d