Accessing/Fetching a ready-made List from another GameObject's script

Hi, I’ve made a techniques script and attached it to my GameManager so that I could fill the List with attacks for use in-game. However I’m unsure how to reference to it in my “owned spirits” class in the script on my player, as creating a list like this:

public List<Tech> ownedTechs;

creates an empty array rather then taking it from the one on my GameManager object. Any help would be appreciated, I can provide more info/screenshots/code if necessary.

For ease of access the simplest way is to create a property that let’s you reference the external list as if it was within your class. Like so:

private List<Tech> ownedTechs
{
  get
  {
    return GameManager.techList;
    //write here a reference to your actual list. You may need to cache a reference to GameManager on awake  or something, that's your call.
  }
}