Hello Guest

Author Topic: GUITextures not showing up  (Read 4891 times)

zeteginara

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 38
    • View Profile
GUITextures not showing up
« 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: GUITextures not showing up
« Reply #1 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.

CEngmann

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: GUITextures not showing up
« Reply #2 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.