An image that stretches across the whole screen underneath the UI during gameplay.
Default Dimensions: 1x1 pixels (this can be any size you want)
Light background |
Dark background |
---|---|
{
"color": "FFFFFFFF",
"type": "Simple",
"filterMode": "Bilinear",
"wrapMode": "Clamp",
"rotation": 0.0,
"scale": {
"x": 1.0,
"y": 1.0
},
"anchorMin": {
"x": 0.0,
"y": 0.0
},
"anchorMax": {
"x": 1.0,
"y": 1.0
},
"pivot": {
"x": 0.5,
"y": 0.5
},
"anchoredPosition": {
"x": 0.0,
"y": 0.0
},
"sizeDelta": {
"x": 0.0,
"y": 0.0
}
}
When you create your JSON file, if you don't include a variable it will just use the default value. You don't need to include every variable! Only include variables you want to change, otherwise it will get messy.
This JSON file uses enums, which are just variables that have multiple preset options. Here are the options for the included enums: