title: Unity2D, how i show the ICON Image on the GUI.Label in the list?
body: <p>I had trying to read most of the similar post on internet, but i still lost for that. So i hope any one can give me some guideline for that. thanks a lots! i want to show the ICON on the list, and the ICON list is constant images. how i can call the file? the project i doing is 2D and i just want to show the ICON on GUI. For additional information, i just trying to use programming way to call out the image, but fail. Below code is the original code before i implement the images code.</p>
  
  <pre><code>GUILayout.BeginVertical ("box");
              GUILayout.Label ("Staff");
              int maxHeight = 15;
              int maxHeightRange = maxHeight * 35;
              scrollPosition = GUI.BeginScrollView(new Rect(50, 25, 400, 175), scrollPosition, new Rect(0, 0, 200, maxHeightRange));
              for(int i = 0; i &lt; maxHeight; i++)
              {
                  GUILayout.BeginHorizontal ("box");
                  GUILayout.Label ("first");
                  GUILayout.Label (i.ToString());
                  GUILayout.Label ("satu");
                  GUILayout.Label ("icon"); //Icon i want to show is here.
                  GUILayout.EndHorizontal ();
              }
              GUI.EndScrollView();
              GUILayout.FlexibleSpace ();
              if (GUILayout.Button ("Exit Shrink Fade")) {
                  LzTbStaff.exitShrinkFade (0.25f);
                  LzShwStaff = false;
                  print("xxx");
              }
              GUILayout.EndVertical ();
  </code></pre>
  
  <p>and the part i add on this below.</p>
  
  <pre><code>Texture iconsample;
              iconsample = (Texture)Resources.Load("iconsample.jpg");
                  GUILayout.Label (iconsample,GUILayout.Width(30));
  </code></pre>