Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mukulabdagiri

Pages: [1]
1
Cool. Thanks.

2
NGUI 3 Support / Unable to move slider using PS4 controller
« on: August 29, 2017, 11:26:36 AM »
Hi
I using the slider from the NGUI examples. I can navigate through the sliders using controller using UI key navigation and it also highlights the appropriate slider. But when I hit left or right controls nothing happens. The sliders do have box colliders on them. Is there anything else I need to add to control the horizontal slider movement?

Thanks.

3
NGUI 3 Support / Animating multiple UI sprites on same object
« on: May 30, 2017, 12:06:24 PM »
Hello,
I am able to animate UI sprites using NGUI sprite animation if I have only one UI sprite component on a gameobject. But I would like to add multiple UI sprites on the same gameobject and animate each of them separately using their own sprite animation. How can I achieve this?

Thanks, Mukul

4
NGUI 3 Support / Re: UI sometimes unresponsive after timescale set to zero
« on: February 19, 2017, 02:11:51 AM »
No, I am using controller based input. I will try delaying the freeze.

5
NGUI 3 Support / Re: UI sometimes unresponsive after timescale set to zero
« on: February 18, 2017, 12:27:40 AM »
I forgot to mention that I am running the game on PS4.

6
NGUI 3 Support / UI sometimes unresponsive after timescale set to zero
« on: February 17, 2017, 02:28:20 PM »
Hello,

I am setting Time.Timescale to 0 to pause my Unity game. On pause i show my pause screen made with NGUI, user can navigate through pause menu and it all works fine. However, once in a while when i pause, it freezes everything including my NGUI pause screen and i am unable to navigate through the menu. I have to force close the application.
Do i have to make any specific changes in code to make sure my NGUI screen is responsive even after timescale is set to 0?

Thanks,
Mukul

7
NGUI 3 Support / Re: Applying Rigidbody force to NGUI components
« on: December 08, 2016, 01:41:19 AM »
Never mind. I put the sprite and label components in separate gameobjects and attached them to another container which has a rigidbody.
This solved the problem.

8
NGUI 3 Support / Applying Rigidbody force to NGUI components
« on: December 07, 2016, 11:56:50 AM »
Hello,

I have a NGUI sprite, NGUI label and Rigidbody component attached to my gameobject. When I apply force to the rigidbody of my gameobject, only one of the UI components is affected. If I have both the components enabled, then force is applied to the sprite and if I disable the sprite, then force is applied to the label component. I need the force to get applied to all the NGUI components within the gameobject which has a rigidbody. What am i doing wrong or missing?

Thanks

9
Ok thanks. It worked.

10
NGUI 3 Support / Dynamically adding a UILabel creates UI Root camera
« on: July 18, 2016, 09:46:38 AM »
I have a main camera in my scene. My static UI elements such as score, lives, level, etc (which are UILabel) show up properly. I have placed them inside a HUD UIPanel. But in my game if i try to instantiate a gameobject which has a UILabel component attached to it, then a UI Root object gets created with a camera in it and that camera takes control and i lose my original game view.
How can i dynamically instantiate a gameobject with UILabel without having an extra camera getting created?

Thanks,
Mukul

11
NGUI 3 Support / Controller Back button input
« on: July 04, 2016, 07:18:53 AM »
Hello,

I want to add UI navigation events in my game menu. I went through the Controller Input example, which shows navigating through the options on 'OnClick' event. To go back to the main page, user has to select and click on the 'Done' button. How can I navigate back just by clicking a button on the controller eg 'circle button of ps4', so that the button will always act as a 'go back' button?

Thanks,
Mukul

Pages: [1]