Skip to content

Commit

Permalink
Merge pull request #7994 from Helmasko/patch-2
Browse files Browse the repository at this point in the history
Custom drawing in 2D update gdscript
  • Loading branch information
mhilbrunner committed Nov 11, 2023
1 parent 84e6aa2 commit eced241
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tutorials/2d/custom_drawing_in_2d.rst
Expand Up @@ -69,7 +69,8 @@ redrawn if modified:

extends Node2D

export (Texture) var texture setget _set_texture
@export var texture: Texture:
set = _set_texture

func _set_texture(value):
# If the texture variable is modified externally,
Expand Down

0 comments on commit eced241

Please sign in to comment.