Hi all,
new to 2DTK, but not to Unity so bear with me.
I am making a game where I need to zoom in and out, but also wanted to use 2DTK's automagic resolution detection etc.
So I stacked 2 cameras, a normal orthogonal one for zooming and camera movement, and a 2DTK camera for GUI anchoring and resolution detection.
The Gui Sprites are on a separate layer so I cull differently for each camera, 2DTK's camera depth set to 1, Don't Clear etc.
So far so good! The zoomy camera stuff works well, the 2DTK camera positions everything beautifully with no performance hit at all.
The problem: although I can detect objects for mouse/touch input on the Orthogonal camera with Raycasting, I cannot seem to 'also' click on the GUI stuff under the 2DTK camera.
I have tried several things using 2DTK's UI manager, using GUItextures, but cannot seem to make it work.
There must be some easy way to detect the 2DTK camera assigned layer sprites.
Further info: The orthogonal camera is set as the Main camera, It's a physics game.
btw can I suggest in the many button variations in your UI manager you make one that is just a plain quad, for mobile games to have a minimalist sprite-like one would be popular I'm sure.
Well I hope someone can help, so far I am really liking 2DTK, the atlas generation, slicing and dicing is great! Thanks in advance.