1
NGUI 3 Support / Not seamless NGUI using Application.LoadLevelAsync
« on: November 28, 2014, 04:20:14 PM »
Hello again,
I'm having a strange problem. I have a MainMenu screen, which I set the UIRoot to be Constrained (Width 1920, Height 1080, both Fit), a Loading screen with the same parameters, and my Gameplay screen which is set to Flexible.
The transition between MainMenu and Loading screens is seamless. However when I LoadLevelAsync from Loading, which I have set to DontDestroyOnLoad, to Gameplay screen, I can see my Gameplay UI correctly and when I manually destroy Loading screen, it then repositions itself to somewhere in the middle.
I have tried to fix it but to no avail Am I missing something? Any help is appreciated. I want to keep the Scaling Style Flexible for Gameplay screen.
I'm having a strange problem. I have a MainMenu screen, which I set the UIRoot to be Constrained (Width 1920, Height 1080, both Fit), a Loading screen with the same parameters, and my Gameplay screen which is set to Flexible.
The transition between MainMenu and Loading screens is seamless. However when I LoadLevelAsync from Loading, which I have set to DontDestroyOnLoad, to Gameplay screen, I can see my Gameplay UI correctly and when I manually destroy Loading screen, it then repositions itself to somewhere in the middle.
I have tried to fix it but to no avail Am I missing something? Any help is appreciated. I want to keep the Scaling Style Flexible for Gameplay screen.