Hi! Here I found how to open popup with animation. But how to do same on closeing? I tried this:
func popup_hide():
var tween : Tween = get_node("Tween")
tween.interpolate_property(self, "modulate:a", self.modulate.a, 0.0, 0.3, Tween.TRANS_LINEAR, Tween.EASE_IN)
tween.start()
But it doesn't work for me. It looks like I should to run animation and use popup.hide()
only after it. But how to use it for non-exlusive popups? Or are there other way?
Thanks