mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
Merge pull request #7994 from Helmasko/patch-2
Custom drawing in 2D update gdscript
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user