Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

GD0109 : L'attribut '[ExportToolButton]' ne peut pas être utilisé avec un autre attribut '[Export]'

Rule ID

GD0109

Catégorie

Utilisation

Fix is breaking or non-breaking

Non-breaking

Activé par défaut

Oui

Cause

A property is annotated with both the [ExportToolButton] and the [Export] attributes.

Rule description

The [ExportToolButton] attribute already implies exporting the member, so the [Export] is unnecessary.

How to fix violations

To fix a violation of this rule, remove the [Export] attribute.

Quand supprimer les avertissements

Do not suppress a warning from this rule. Multiple export attributes may lead to duplicated members, resulting in unexpected runtime errors.