PowenKo, Unity3D tutorial 101-1, Display image on GUI

October 19, 2011   ·   0 Comments

	void DrawImageBottomAligned (Vector2 pos ,Texture2D image )
	{
		GUI.Label(new Rect (0,0, image.width, image.height), image);
	}
        void OnGUI(){
		
	  GUI.Label(new Rect (0,0, 100,20), "12");
	}

sample code:
3DPlatformTutorial

shareShare on FacebookShare on Google+Share on LinkedInEmail this to someonePrint this pageBuffer this pageDigg thisFlattr the authorShare on RedditPin on PinterestShare on StumbleUponShare on TumblrTweet about this on Twitter

By


Readers Comments (0)


You must be logged in to post a comment.

PowenKo’s Online Store

powenko_arduinoBook
Unity3D4

Amazon

adsbygoogle

Recent Posts

Categories

Amazon