Autocompletion: Fix type resolution when assigning variant
This commit is contained in:
parent
019ab8745f
commit
242b5efd9d
3 changed files with 13 additions and 1 deletions
|
|
@ -0,0 +1,5 @@
|
|||
[output]
|
||||
include=[
|
||||
; PackedScene
|
||||
{"display": "instantiate(…)"},
|
||||
]
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
var list: Array
|
||||
|
||||
func spawn_npc() -> void:
|
||||
var scene: PackedScene = list.pick_random()
|
||||
scene.➡
|
||||
Loading…
Add table
Add a link
Reference in a new issue