Hello Guest

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 - nemoryoliver

Pages: [1]
1
Support / tk2dButton clicks doesn't work on Unity4.2 beta
« on: May 15, 2013, 03:50:47 am »
I can confirm this is the line that doesn't get called:

Code: [Select]
            if (Input.GetMouseButtonDown(0))
            {
                Debug.Log("Casting Ray");

                Ray ray = viewCamera.ScreenPointToRay(Input.mousePosition);
                RaycastHit hitInfo;

                if (collider.Raycast(ray, out hitInfo, 1.0e8f))
                {
                    if (!Physics.Raycast(ray, hitInfo.distance - 0.01f))
                        StartCoroutine(coHandleButtonPress(-1));
                }
            }

2
Support / any 2k2d button down event? only fires after button up
« on: May 11, 2013, 05:53:58 am »
I am using a 2k2dButton and realized it only fires the SendMessage function after button up. Any suggestions please? thank you.

Pages: [1]