Hi,
I have 2 camera using for NGUI. When I add new Panel to scene, it's alway use camera which is nearest in hierarchy, not the one i'm aiming to. For example:
UIRoot
- Camera1
- UIPanel1
- UIPanel2
- Camera2
UIPanel1 will alway use Camera2 to draw rect, but what i want is Camera2.
I found out that camera will be detect using NGUITools.FindCameraForLayer.
Is there any way choose camera for UIPanel?
Thank you.