Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: zzangbaba on June 27, 2013, 06:26:16 AM

Title: I wonder. When the panel is actually being drawn.
Post by: zzangbaba on June 27, 2013, 06:26:16 AM
I am a novice in unity3d.

And Ngui Use

I have one problem.

UIPanel is drawn in immediately.

I turn off the GameCamera, UICamera only on.

I GameCamera UIPanel in the LateInit off.

Then, before drawing UIPanel GameCamera is turned off.

What is problem?
Title: Re: I wonder. When the panel is actually being drawn.
Post by: ArenMook on June 27, 2013, 01:50:41 PM
I am not sure what you're asking.
Title: Re: I wonder. When the panel is actually being drawn.
Post by: zzangbaba on June 28, 2013, 12:22:50 AM
I'm sorry. English not skilled.

I'm using two cameras.
1. GameCamera
2. UICamera

This is my coding step.
1. UIPanel is created to MainScene.
2. GameCamera[enabled=false] of UIPanel to LateInit().
3. GameCamera[enabled=true] of UIPanel to OnDestory().

My problem is build on mobile.
Why before showing panel turned off GameCamera?
I can't understanding.
Title: Re: I wonder. When the panel is actually being drawn.
Post by: ArenMook on June 28, 2013, 04:14:14 PM
It might be easier if you asked in your native language. Perhaps someone can answer who speaks the same language.