File: icon_button_background

Default Texture

Default Dimensions: 3x3 pixels (this can be any size you want)

Default JSON

{
  "color": "FFFFFFFF",
  "type": "Sliced",
  "border": [
    1.0,
    1.0,
    1.0,
    1.0
  ],
  "borderWidth": 1.66666663,
  "filterMode": "Point",
  "wrapMode": "Clamp"
}

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:

Associated Categories