Load Resources?

I have a script that i want to store a large collection of sprites in and access them through out my game. I seen Resources.Load and I’m trying to use it but I think I’m doing something wrong.

Screen Shot:

Code:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class Image_Game_Data : MonoBehaviour
{
    public static Sprite _Ballon_Fly = Resources.Load<Sprite>("Sprites/sprite01");
}

Suggestions?

You can’t Resource.Load like that. You’ll have to do that in Awake/Start. You could also have a singleton script where you just drag and drop in the inspector and dontdestroyonload on the gameobject.

I was able to get it to work. I had the wrong path info aka typo. I guess that’s what I get for copy/pasting code lol Anyway works now