blob: 29db2eeda1bee97cb6b47ee36bd7ca953f204f5d (
plain) (
tree)
|
|
extends Area
func _ready():
var _connected = self.connect("body_entered", self, "_body_entered")
func _body_entered(body):
if body.is_in_group("player"):
global.sunwarp = 1
body.get_node("pivot/camera/sunwarp_background").visible = false
|