Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: heybaby2707 on March 16, 2017, 10:55:52 AM

Title: UIButton not work in Display 2
Post by: heybaby2707 on March 16, 2017, 10:55:52 AM
I'm using NGUI 3.11.2 and my project have two display 1 & 2.
When I add UIButton to Display 1 everything is okie but when I change Camera => Target to Display 2 can't detect hover or click.  :(

Have any way to fix it? Thank you very much.
Title: Re: UIButton not work in Display 2
Post by: ArenMook on March 21, 2017, 04:11:23 PM
NGUI doesn't know anything about displays. It works exclusively with cameras. Events go through cameras. Off the top of my head there isn't much I can think of to suggest to check. I am not familiar with how different display targeting works in Unity. All I can suggest is write a script that will print the mouse position and see what it's like when targeting your secondary display.
Title: Re: UIButton not work in Display 2
Post by: doodaddy on October 22, 2019, 11:14:51 AM
Quote
Only the atlas should use truecolor. Background doesn't have to (which is another reason I suggest moving it out of your atlas).

If the background isn't truecolor, though, wouldn't it get fuzzy?  it's still part of the UI.  Won't iOS use PVRTC and make it look crappy?