Class ExportSubgroupAttribute
- Namespace
- Godot
- Assembly
- GodotSharp.dll
Define a new subgroup for the following exported properties. This helps to organize properties in the Inspector dock.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class ExportSubgroupAttribute : Attribute
- Inheritance
-
ExportSubgroupAttribute
- Inherited Members
Constructors
ExportSubgroupAttribute(string, string)
Define a new subgroup for the following exported properties. This helps to organize properties in the Inspector dock.
public ExportSubgroupAttribute(string name, string prefix = "")
Parameters
name
stringThe name of the subgroup.
prefix
stringIf provided, the subgroup would make group to only consider properties that have this prefix.
Properties
Name
Name of the subgroup.
public string Name { get; }
Property Value
Prefix
If provided, the prefix that all properties must have to be considered part of the subgroup.
public string? Prefix { get; }