hello does anyone know how I can delete the sprite node texture stream from the script.
TRANSLATE FROM GOOGLE TRANSLATOR
If you want to delete a texture assigned to a sprite through GDScript, I think you can just set the texture to null, though I haven't tested:
$Sprite.texture = null # Should remove the texture assigned
@TwistedTwigleg said: If you want to delete a texture assigned to a sprite through GDScript, I think you can just set the texture to null, though I haven't tested: $Sprite.texture = null # Should remove the texture assigned
@TwistedTwigleg said: If you want to delete a texture assigned to a sprite through GDScript, I think you can just set the texture to null, though I haven't tested:
of course, since I didn't think about it before, thanks for your help