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