mirror of
https://github.com/Relintai/MemR.git
synced 2024-11-14 10:27:20 +01:00
10 lines
175 B
GDScript
10 lines
175 B
GDScript
extends TextureRect
|
|
|
|
func load_gif(path : String) -> bool:
|
|
var loader : GIFLoader = GIFLoader.new()
|
|
loader.load_gif(path)
|
|
|
|
texture = loader.create_texture()
|
|
|
|
return true
|