Improved prefab loading a bit.
This commit is contained in:
@ -20,8 +20,7 @@
|
||||
"type": "RPGEntity"
|
||||
},
|
||||
"player": {
|
||||
"type": "RPGPlayer",
|
||||
"camera": "camera"
|
||||
"type": "RPGPlayer"
|
||||
}
|
||||
}
|
||||
}
|
@ -23,7 +23,12 @@
|
||||
|
||||
"rosa": {
|
||||
"prefab": "rosa",
|
||||
"position": [ 0, 0, 0 ]
|
||||
"position": [ 0, 0, 0 ],
|
||||
"components": {
|
||||
"player": {
|
||||
"camera": "camera"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"npc": {
|
||||
|
Reference in New Issue
Block a user