1
Support / Re: The inner sizer of conainersizer and black edge around image
« on: February 26, 2014, 09:29:29 am »
It is a little bit late,
but thanks!
but thanks!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Texture2D tex = (Texture2D)Resources.Load("Image");
GameObject go = tk2dBaseSprite.CreateFromTexture<tk2dSprite>(tex, tk2dSpriteCollectionSize.Explicit(1, tex.height), new Rect(0, 0, tex.width, tex.height), new Vector2(0, 0));
Instantiate(go);