Hide
Layout
Important
Enable SaintsEditor before using

A layout decorator to group fields.

  • string groupBy the grouping key. Use / to separate different groups and create subgroups.
  • ELayout layout=ELayout.Vertical the layout of the current group. Note this is a EnumFlag, means you can mix with options.
  • bool keepGrouping=false: See LayoutStart below
  • float marginTop = -1f add some space before the layout. -1 for using default spacing.
  • float marginBottom = -1f add some space after the layout. -1 for using default spacing.
  • float paddingLeft = 0f add space to the left of the layout content. Negative value supported
  • float paddingRight = 0f add space to the right of the layout content.

For more information, see LayoutStart below