Recent Posts

Pages: [1] 2 3 ... 10
1
NGUI 3 Support / GUI looses focus if another appears behind it
« Last post by malo88 on February 22, 2018, 05:13:36 AM »
Hi, I have a problem with how NGUI manages the hovering of the buttons right now. I'm developing a console title, so I need the hovering and focus on buttons for a dialogue or a gui which needs interaction. I'll explain the problem with an example occurring frequently: a dialogue appears in front of everything, cause it's a dialogue message that needs main focus over every else gui active at the moment, and it takes the focus on the OK button (which have a keynavigation component with startselected true). Now, under this dialogue, another window appears because the game is still running behind the dialogue. This window has an interactive gui, with buttons with keynavigations, and immediately takes away the focus from the main dialogue, even if its layer is lower! So, is there a way to say like: this gui gets activated but has a layer on the panel lower than the current active one and so I'll maintain the focus on the current one? Of course I can implement something myself but it feels weird that a gui framework does not take this into account...
Thanks
2
TNet 3 Support / Re: Quick call of server stop results in editor/build freeze
« Last post by JayJay on February 21, 2018, 11:19:22 AM »
Hard editor freeze.

And I'm not talking about multiple times, I can reproduce it reliably if I stop the server withing ~3 seconds.

The problem is that this is an issue that might occur if a user accidentally opens a server by miss clicking and closes it straight away. The hard delay I set is a fine workaround for now but it's in no way a proper solution.
3
NGUI 3 Support / Re: iPhone X display NGUI support
« Last post by Kafar on February 20, 2018, 02:43:42 PM »
SOLVED.
4
Ok,i have made TNAnimator http://csharppad.com/gist/0c70816af5c342b9556001103fe7c9b4 script that allows you to sync animator and TNSoundSync http://csharppad.com/gist/0e36af68b10b30501cfb4c0927d8212b that allows you to sync aodio clips that are playing and time when there playing. You can use it in your examples!!! Please can you give me the voucher code of Tnet?I am Russian schoolboy and 90$ is very big money for me,so i can't buy it!(To make this scripts i have stolen tnet,but it's old)
5
NGUI 3 Support / Have a question that hasn't already been answered here?
« Last post by ArenMook on February 17, 2018, 10:46:00 PM »
NGUI's support forums are a wealth of information that have been filled by 6 years of dedicated support, but times are changing and so should the support. The best place to ask new questions that haven't already been answered on the forums is in Discord: https://discord.gg/trruSNc -- look for the #ngui-support section.

For those that don't know, Discord is a text / voice communication program, and it's accessible via your browser.

I hate forums. Always did. Chat is much easier, and with much better response times to boot as I'm always there when I'm awake.
6
NGUI 3 Support / Re: Is NGUI still actively supported?
« Last post by ArenMook on February 17, 2018, 10:38:51 PM »
I've been... neglecting the forums lately, I admit. I've moved all support to Discord back in December (https://discord.gg/trruSNc). What I've been telling people (and what the tasharen.com's contact form says) is -- if you can't find the answer to your question by googling it / searching tasharen.com's forums, then you're welcome to ask in discord and I'll respond (and if it's a question specifically to me, be sure to tag me with @Aren so I see it).
7
NGUI 3 Support / iPhone X display NGUI support
« Last post by Kafar on February 17, 2018, 08:25:24 AM »
Hello,

I read the only one post who talk about this topic (http://www.tasharen.com/forum/index.php?topic=15480.0) but it not is for me.
I have a UI Root and inside it many other UIpanels, UIButtons, etc, all anchored but on iPhone X the result is that the gui go partially off to the edge of the screen.

I tried also with this sample project https://bitbucket.org/p12tic/iossafeareasplugin mentioned in the other post but that sample not is for NGUI. My problem is my app run on all Apple and Android devices, then I can't adjust the widget's offsets for iPhone X only because this will impact on all other devices.

So, definitively, there are solutions (in this case) with NGUI?
Many thanks.
8
NGUI 3 Support / Re: Is NGUI still actively supported?
« Last post by Nicki on February 15, 2018, 09:54:05 AM »
Sure, I would agree. I still use it actively myself, and no one likes warnings.

Btw, what's going on in your signature? I've seen a lot of spam with that <REDACTED> stuff. Would you remove it, so I don't accidentally "purge" your comment? :)


Edit: oh, it's actually just spam (copy of part of OPs post). Bye cucumber.
9
Other Packages / Fog of War works fine in editor, does not work in build.
« Last post by andrewshi on February 14, 2018, 12:40:01 AM »
I'm using Unity 5.4, building mac standalone, using the sample scene provided. The fog of war in editor works as expected but the game screen just turned black (same color as unexplored) when building. Moving the map to a certain point will make the entire map turn bright, which is really weird. Any ideas?
10
NGUI 3 Support / Weird ProgressBar Problem ?
« Last post by Tester1234 on February 13, 2018, 04:39:49 AM »
Hi,

I have my progress bar, I set its value programatically using for counters etc...

Problem is when I update slider value ( by using progressBar.value or progressBar.set(value,true)) the label does not update, slider and progress bar sprites updates, however label text stays still. Like if it says %40 it stuck to that, but progress bar value and sprites updates. Label text is set to SetCurrentPercentage on notify as usual.

I have been using NGUI and ProgressBars for years, problem could be mine or could be about final update of NGUI, any ideas ?


EDIT 1: I did very deep testing
It seems that UIProgressBar > Set > NGUI.GetActive > mb.gameobject.activeInHierarchy returns FALSE, so notify/broadcast never fires.

EDIT 2: I think this system, not really good. Now I have to check each parent, I make sure is its activated before I set the progress bar value. It become a very long task. This was not like this before, did it become with the last update ? Do I have to activate progress bar and all its parents to set value of progress bar, just for label text update of the progreess bar ? This seems not a good logic.

EXAMPLE: Lets say, I have levels map menu with the progress bar for levels completed. I want to update all values levels, scores, progress bars before I activate the menu, now I cannot do it.

Pages: [1] 2 3 ... 10