How would i go about adding a cui with json? such as
[
{
"name": "efe0-0a70-31e0",
"parent": "Hud",
"components": [
{
"type": "UnityEngine.UI.Button",
"command": "",
"close": "",
"color": "0.31 0.31 0.31 1"
},
{
"type": "RectTransform",
"anchormin": "0.02 0.828",
"anchormax": "0.098 0.967"
}
]
},
{
"name": "73c8-a52a-a342",
"parent": "efe0-0a70-31e0",
"components": [
{
"type": "UnityEngine.UI.Text",
"color": "1 1 1 1",
"fontSize": 14,
"align": "MiddleCenter"
},
{
"type": "RectTransform",
"anchormin": "0 0",
"anchormax": "1 1"
}
]
}
]