mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Rename Reference to RefCounted
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
[gdscript]
|
||||
var foo = 2 # foo is dynamically an integer
|
||||
foo = "Now foo is a string!"
|
||||
foo = Reference.new() # foo is an Object
|
||||
foo = RefCounted.new() # foo is an Object
|
||||
var bar: int = 2 # bar is a statically typed integer.
|
||||
# bar = "Uh oh! I can't make static variables become a different type!"
|
||||
[/gdscript]
|
||||
|
||||
Reference in New Issue
Block a user