2D Toolkit Forum

2D Toolkit => Support => Topic started by: zeteginara on April 11, 2014, 03:49:08 am

Title: GUITextures not showing up
Post by: zeteginara on April 11, 2014, 03:49:08 am
I can't get a GUITexture to show up on the tk2d Camera.

It has a GUILayer, the pixel inset of both X and Y are between 0 and 1.  I've tried using every color and every alpha setting.  Width and Height could be as large as I can make them, I've experimented with everything.  Both are enabled, but nothing shows up at all.

I've experimented with the Z coordinate of the camera, got rid of my wildcard, experimented with the clipping planes.  Nothing works.
Title: Re: GUITextures not showing up
Post by: unikronsoftware on April 11, 2014, 02:25:53 pm
It seems to work fine for me. All I did was delete everything in an empty scene, add a tk2dCamera and then create a new GUITexture. Draws fine in the game view.

You can post an example scene / unity package if you want me to investigate this further.
Title: Re: GUITextures not showing up
Post by: CEngmann on October 30, 2014, 11:08:12 am
If you simply add a Component > Rendering > GUILayer to the TK2DCamera then your problem will be solved.