GDScript: Fix UNSAFE_CALL_ARGUMENT warning for Variant constructors
This commit is contained in:
parent
19890614c6
commit
ba96d4f631
5 changed files with 78 additions and 24 deletions
|
|
@ -24,7 +24,6 @@ func test():
|
|||
print(StringName("hello"))
|
||||
print(NodePath("hello/world"))
|
||||
var node := Node.new()
|
||||
@warning_ignore("unsafe_call_argument")
|
||||
print(RID(node)) # TODO: Why is the constructor (or implicit cast) not documented?
|
||||
print(node.get_name)
|
||||
print(node.property_list_changed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue