mirror of
https://github.com/Relintai/MemR.git
synced 2024-12-27 14:17:35 +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
|