How do you find which package a class belongs to, when given just the class name?

Trying to learn more about Unity multiplayer networking. Looking at the following docs:

It states:

“”"
Netcode for Gameobjects’ high level components, the RPC system, object spawning, and NetworkVariables all rely on there being at least two netcode components added to a GameObject:

  1. NetworkObject
  2. NetworkBehaviour
    “”"

Ok, so I need to add these two components to my game object. I added NetworkObject to my object, this was easy. The second should have also been easy, but it was not. I finally figured out that NetworkBehaviour comes in the Netcode package, so I added the following too my game objects script:

using Unity.Netcode;

I found that out, because there is an example script here: Golden Path Module One | Unity Multiplayer Networking

How do you find which package a class belongs to, when given just the class name? I don’t want to have to hunt down example scripts to find out what package a class is in, it takes too long.

It is kind of annoying sometimes. It seems impossible without Google at your elbow.

Some of the IDEs are getting better support for suggesting namespaces and there are various tools you can plug in. From the namespace you can often figure out the package.