I’m developing a game for Android using Unity, and I need load some texture from the Resources path. But this only works in the editor, and when I build the project for Android, the image doesn’t load.
My code looks like this:
public void setTipTextTexture(string texture){
texture = "TipTexts/" + texture;
this.tipTexture = Resources.Load(texture) as Texture;
}
What am I doing wrong?