Why can I not "using" a UnityEngine.Module appearing correctly in the reference list in the Solution Explorer?

Hi,
I have a problem like the screenshot:

Why the UnityEngine.CoreModule can show in the reference list at Solution Explorer correctly but cannot be “using” ?
The version both of Unity and VS is 2022.

Thanks!

What are you trying to achieve?

“UnityEngine.CoreModule” is an assembly, not a namespace.

Assembly references are managed inside Unity (implicitly or through Assembly Definitions), in your C# code you only need to import the namespace of the type you want to use.

4 Likes

Thanks your remind, Adrian!