Added plane

This commit is contained in:
2024-12-06 10:48:00 -06:00
parent e6672945ae
commit 9d91fa6435
10 changed files with 196 additions and 35 deletions

View File

@ -9,6 +9,10 @@
"npc": {
"type": "prefab",
"path": "prefabs/npc.json"
},
"rosatext": {
"type": "texture",
"path": "rosa.texture"
}
},
@ -21,6 +25,26 @@
}
},
"plane": {
"position": [ 0, 0, 0 ],
"components": {
"mesh": {
"type": "PlaneMesh",
"size": [ 512, 512 ],
"cells": [ 16, 16 ],
"uv": [ 0, 0, 0.33, 0.25 ]
},
"renderer": {
"type": "MeshRenderer"
},
"mat": {
"type": "SimpleTexturedMaterial",
"color": "green",
"texture": "rosatext"
}
}
},
"rosa": {
"prefab": "rosa",
"position": [ 0, 0, 0 ],