Add context sharing on prefabs.

This commit is contained in:
2024-12-03 17:15:39 -06:00
parent 68fab7c94d
commit 5998037994
30 changed files with 166 additions and 177 deletions

27
assets/prefabs/rosa.json Normal file
View File

@ -0,0 +1,27 @@
{
"name": "Rosa",
"assets": {
"rosa": {
"type": "texture",
"path": "rosa.texture"
}
},
"components": {
"material": {
"type": "SimpleTexturedMaterial",
"texture": "rosa"
},
"meshRenderer": {
"type": "MeshRenderer"
},
"entity": {
"type": "RPGEntity"
},
"player": {
"type": "RPGPlayer",
"camera": "camera"
}
}
}