Hey, I've encountered an issue when trying to use LayerNames, other attributes work as expected.
As a test I've applied all attributes and only 'LayerNames' can't be resolved:
I've tried re-importing the nuget package to no avail.
Compile error:
Error CS0246 : The type or namespace name 'LayerNamesAttribute' could not be found (are you missing a using directive or an assembly reference?)
Error CS0246 : The type or namespace name 'LayerNames' could not be found (are you missing a using directive or an assembly reference?)
Apologies for the confusion. LayerNames is still in pre-release. I'll do a 2.4.0 release when I get back from holiday. (I'll make sure to tag pre-release features in description in future :D)
Issue
Hey, I've encountered an issue when trying to use
LayerNames
, other attributes work as expected.As a test I've applied all attributes and only 'LayerNames' can't be resolved:
I've tried re-importing the nuget package to no avail.
Compile error:
My setup:
Godot 4.2.2 godotsharp.sourcegenerators 2.3.4 JetBrains Rider 2024.1.4
Layers section in my
project.godot
: