Reference for a non static method between scripts

I am trying to take this method from my HealthManager.cs

 void LoadHealthSprites () {
		//array index 0 is 1 hit
		int spriteIndex = totalHealth -= 1;	
		//will only run IF the there is a sprite at index[x]
		if (healthSprites[spriteIndex]) {
			this.GetComponent<SpriteRenderer>().sprite = healthSprites[spriteIndex];
		}
	}

and execute it on my LoseCollider.cs:

void OnTriggerEnter2D (Collider2D trigger) {
		if (HealthManager.totalHealth >= 3) {
			HealthManager.LoadHealthSprites();
		} else {
			levelManager = GameObject.FindObjectOfType<LevelManager>();
			levelManager.LoadLevel("Lose");
		}
	}

I get an error on this line from the LoseCollider.cs:

HealthManager.LoadHealthSprites();

The error says:
error CS0120: An object reference is required to access non-static member `HealthManager.LoadHealthSprites()’

How do I create the reference to use the method?

Two ways you can solve this problem:

  1. Make LoadHealthSprites() static.
  2. Make an object reference

Solution #1:

static void LoadHealthSprites(){
}

Solution #2:
In your LostCollider.cs, add this:

public GameObject hManager; // In the editor, drag the game object that has HealthManager.cs attached.

Whenever you want to call LoadHealthSprites() in this case, you do:

hManager.GetComponent<HealthManager>().LoadHealthSprites();