Loading…
![]() Suggestion accepted |
|
![]() Suggestion added |
|
![]() String updated in the repository |
|
English | Spanish | ||
---|---|---|---|
annotation | anotación | Godot Engine | |
constant | constante | Godot Engine | |
dock | panel | Godot Engine |
See also [constant PROPERTY_USAGE_SUBGROUP].
[codeblock]
@export_group("Racer Properties")
@export var nickname = "Nick"
@export var age = 26
@export_subgroup("Car Properties", "car_")
@export var car_label = "Speedy"
@export var car_number = 3
[/codeblock]
[b]Note:[/b] Subgroups cannot be nested, they only provide one extra level of depth. Just like the next group ends the previous group, so do the subsequent subgroups.
Ver además [constant PROPERTY_USAGE_SUBGROUP].
[codeblock]
@export_group("Racer Properties")
@export var nickname = "Nick"
@export var age = 26
@export_subgroup("Car Properties", "car_")
@export var car_label = "Speedy"
@export var car_number = 3
[/codeblock]
[b]Nota:[/b] Los subgrupos no se pueden anidar, solo proveen un nivel extra de profundidad. Así como el siguiente grupo finaliza el anterior, también lo hacen los consiguientes subgrupos.