6 lines
140 B
GDScript3
6 lines
140 B
GDScript3
|
extends Sprite2D
|
||
|
|
||
|
|
||
|
func change_to(custom_number:int):
|
||
|
texture = load("res://scenes/Duck/customs/{s}.png".format({"s":str(custom_number)}))
|