godot/modules/gdscript/tests/scripts/completion/common/assign_local_variant.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
99 B
GDScript3
Raw Normal View History

var list: Array
func spawn_npc() -> void:
var scene: PackedScene = list.pick_random()
scene.