Sorry for my English, I’m using Google Translate.
I have the code below and I need to change the texture contained in the GUI.Label dynamically. I’ve tried it in many ways and I could not. Can you help me? Thank you!
public Texture2D cTexture;
cTexture = (Texture2D)Resources.Load("Prefabs/Players/Images/char1_image");
GUI.Label(new Rect(screenWidth - 690, screenHeight / 2 - 230, 500, 500), cTexture);