challenge-editor/scene/card_state_machine/arrowImg.gd
2024-09-24 17:26:44 +08:00

9 lines
164 B
GDScript

extends Control
class_name arrowImage
func set_image(texture:Texture2D,scaleto:float):
$Sprite2D.set_texture(texture)
$Sprite2D.scale=Vector2(scaleto,scaleto)