How to add resource categories depending on the variables set?

Godot Version 4.3 Beta 1

Question

I have a custom resource class. I would like to have the AnimationSettings subgroup appear when I set the IsAnimated variable in the inspector. Is this possible?

using Godot;

[GlobalClass]
public partial class TileResource : Resource
{
    public int SourceID { get; set; }

    [ExportGroup("Naming")]
    [Export] public string Name { get; set; }

    [ExportGroup("Animation")]
    [Export] public bool IsAnimated { get; set; }

    [ExportSubgroup("AnimationSettings")]
    [Export] public int TileID { get; set; }

    [ExportGroup("Features")]
    [Export] public StructureSize Size {  get; set; }
}

Yes you can make plugins, is easy to start

Implement the Object._get_property_list() or Object._validate_property() functions. The documentation of each one has examples you can use.