This website requires JavaScript.
Explore
Help
Sign In
godotengine
/
godot
mirror of
https://github.com/godotengine/godot
Watch
1
Star
0
Fork
You've already forked godot
0
Code
53231879b3
godot
/
modules
/
gdscript
/
tests
/
scripts
/
completion
/
common
/
assign_local_variant.gd
6 lines
99 B
GDScript
Raw
Blame
History
var
list
:
Array
func
spawn_npc
(
)
-
>
void
:
var
scene
:
PackedScene
=
list
.
pick_random
(
)
scene
.
➡
View Git Blame
Copy Permalink