broken_seals/game/autoload/ThemeAtlas.gd

15 lines
388 B
GDScript3
Raw Normal View History

2019-11-20 13:51:26 +01:00
extends TextureMerger
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#func _texture_added(texture):
# print("added")
#
#func _texture_removed():
# print("removed")
func _texture_merged():
$Sprite.texture = get_generated_texture(0)