Hello Guest

Author Topic: tk2dCamera can't see GUITexture?  (Read 5503 times)

lenix

  • Newbie
  • *
  • Posts: 3
    • View Profile
tk2dCamera can't see GUITexture?
« on: July 31, 2012, 12:18:48 pm »
Hello,
I'm trying to add GUITextures to my scene but when I run the scene I can't see them, they disappear, even in the designer before running, if I change their original position they disappear.
Anybody knows whats the deal with this?

Thanks,

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: tk2dCamera can't see GUITexture?
« Reply #1 on: July 31, 2012, 12:37:18 pm »
Do you have a GUILayer component on the tk2dCamera? You will need one of those for the GUITexture to draw.

lenix

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: tk2dCamera can't see GUITexture?
« Reply #2 on: July 31, 2012, 12:54:32 pm »
Thanks a lot unikron, adding a GUILayer component to the camera worked.