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.


Topics - pawankumar113

Pages: [1]
1
NGUI 3 Support / UICamera.currentTouch getting null
« on: December 17, 2014, 03:07:26 AM »
I am using UICamera.currentTouch.pos in my own function but i am getting null exception.
I don't know why.

Any help will be appreciated.
Thanks.

2
How to detect that my touch position is collide with a particular sprite collider or not.
I want to make siding menu such as in have native android. I am using UIDragObject
but it is working when i press directly on that gameObject. i need like when i press on
corner of screen then gameobject(sidemenu) come at my finger position then i need to
identitified whether it is colliding with sidemenu or not.

Please see image for more details.

Any help will be appreciated.
Thanks.

3
NGUI 3 Support / How to use UIWidget.HitCheck delegate in my program.
« on: November 12, 2014, 04:48:01 AM »
How I can use UIWidget.HitCheck to detect a particular Sprite or GameObject hit or not when i touches on Screen.
I tried to find out example but i did not find any example.

  1. gameObject.GetComponent<UIWidget>().hitCheck = HitCheck;
  2.  
  3. bool HitCheck(Vector3 worldPosition)
  4. {
  5.         // Here what code to write to know whether a particular gameObject hit or not.         
  6. }

Thanks in advance.

 

4
NGUI 3 Support / How to control Scroll Bar using button.
« on: May 13, 2014, 01:52:23 AM »
I saw the Example 7 - Scroll View (Panel) in NGUI. But how to use button to Scroll the Object.

5
NGUI 3 Support / How to make Scrollable Label in NGUI
« on: May 12, 2014, 01:07:00 AM »
I want to make a Scrollable Label in NGUI. Suppose there is list of name of producer, programmer, artiest and other stuff in Label. and there is also scroll bar when i pull up and down. It will show list of contents in Scrollable View. I searched in internet but i did not get idea how access label height and how to put in scroll bar and how to make clipping rectangle.

Any help will be appreciated.

Pages: [1]