mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Merge pull request #7012 from jwmcgettigan/onready-patch
Updated instances of onready to @onready.
This commit is contained in:
@@ -380,7 +380,7 @@ Then attach the following script to any node::
|
||||
|
||||
extends Node
|
||||
|
||||
onready var json_resource = load("res://demo.json")
|
||||
@onready var json_resource = load("res://demo.json")
|
||||
|
||||
func _ready():
|
||||
print(json_resource.get_dict())
|
||||
|
||||
Reference in New Issue
Block a user