- Home /
 
               Question by 
               SuperDariusLP · Jun 24, 2014 at 05:53 PM · 
                2dtexture  
              
 
              Unity3D - Can't make a 2D Texture
In Unity3D I can't make a 2D Picture. In every Tutorial I see under a Script "None "2D-Texture", but in mine I don't see it... Here's a picture.
 
                 
                unity3d.png 
                (446.3 kB) 
               
 
              
               Comment
              
 
               
              Answer by Dee Va · Jun 25, 2014 at 03:13 PM
There you go! :)
 var Crosshair : Texture2D;
 
 function OnGUI(){
      
 GUI.DrawTexture(new Rect(0f, 0f, Screen.width, Screen.height), Crosshair);
 }
Have Fun Learning! :)
-Dee
There is also a another way of doing! (simple and efficient) 1) Click on the camera. 2) then Gameobject --> Create Object --> Gui Texture ( Add your Texture over here!)
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                