Added plane
This commit is contained in:
@ -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 ],
|
||||
|
Reference in New Issue
Block a user