I’ve tried a lot of different things I’ve looked up to solve this, but none of them have worked so far. I’m trying to get a texture to appear on a guibutton within a scrollview.
public Texture2D recycle = Resources.Load<Texture2D>("textures/recycle.png");
scrollposition = GUI.BeginScrollView(new Rect(100, 120, 370, 200), scrollposition, new Rect(0, 0, 320, 500));
GUI.Button(new Rect(10, 10, 200, 50), recycle);
GUI.EndScrollView();
Thanks to anyone who can help.