Im trying to load a texture2d with c# at Start()
I’ve seen several instances about using Resources.Load but i wasn’t able to load it
because i keep getting this message that the texture has to be instantiated?
NullReferenceException: Object reference not set to an instance of an object
this is how im loading
private Texture2D gameTitleTxt;
void Start()
{
gameTitleTxt = (Texture2D)Resources.Load(“Textures/Gui/menu_design”);
}
what am I doing wrong?