Package classes not available to custom scripts

I have used package manager to fetch a package from github.
This all works and the included package includes useful component scripts which I can “Add component” to game objects in the scene. So far so good.

But when I create my own new script, I cannot “see” the classes that are in that package.
So I am unable to declare variables in my script that uses the classes found in this package.
This is unlike packages from the Unity Registry. Where the package classes are easily “in scope” so that my scripts can use their classes.

I know I am missing some fundamental understanding of how to scope packages - but I don’t know what that is.

Any help deeply appreciated.

Thank you

yinch

Hello other lost souls,

I solved this using “Assembly definitions”.
Useful explanation of what are assemblies and why you use them in Unity is here one youtube:

TL: DR;

  1. Put your script in a folder and then
  2. create an assembly definition in that same folder.
  3. In the Inspector view of the assembly definition, add and “assembly definition reference” to the package you want to be able to see in scope.

Thank you to @De-Panther for the guidance