Hello Guest

Author Topic: tk2dCamera Viewable Bounds Preview  (Read 3522 times)

appymedia

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 13
    • View Profile
tk2dCamera Viewable Bounds Preview
« on: March 06, 2014, 11:28:39 am »
Hi All,

I'm new with 2D Toolkit (and Unity) and am looking for a little help please.  When selecting my tk2dCamera in my scene I see a nice preview of the viewable bounds of it in the Unity editor.  There's a green box for the Native bounds and also a white box for the preview resolution.  When the tk2dCamera doesn't have the focus it disappears, is there any way so it shows all the time as its handy to see it when manually creating sprites and positioning etc?

Thanks All :)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: tk2dCamera Viewable Bounds Preview
« Reply #1 on: March 06, 2014, 01:07:03 pm »
Hi this isn't possible at the moment, but you can convince Unity to do it for you with a little bit of trickery.
1. Select your camera.
2. Click the little lock button above the inspector.
3. Right click on the Inspector tab, and add tab > Inspector.

You should now have a second inspector that changes when you change selection in the scene, and your camera bounds will still be drawn.

appymedia

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: tk2dCamera Viewable Bounds Preview
« Reply #2 on: March 06, 2014, 01:31:14 pm »
Sneaky :)  Many thanks, works a treat, great product by the way :)