Hello and good day, I got an issue about using a namespace referencing a class of mine, the issue it’s that when I try to reach a method through the class reference, the method does not appears accessible, ‘here’ is the link to the posted comment in discord.
Hmm. This is weird. From the screenshots I see that DataContainer namespace is grey out (meaning it is not used) in the Task ActionTask class. This may mean that there is another class named exactly the same “ToggleByGroup” and the IDE is using that instead of yours that lives in the DataContainer namespace.
Can you please explicitly use the full type name in your ActionTask class and try again?
This basically means to use the full type name “DataContainer.ToggleByGroup” instead of simply “ToggleByGroup” wherever that type is used.
Alternatively you can also add this at the top of the class: