1
NGUI 3 Support / Re: UICamea.hoveredObject, UICamera.fallThrough, IsOver UI Problem.
« on: July 04, 2015, 08:33:27 PM »
When 3D Object and NGUI Object located same position on viewPort, "if(UICamera.hoveredObject != null)" code only touched NGUI Object.
This code is no problem NGUI 3.0.2 version, Editor and Mobile too.
But, latest version "UICamera.hoveredObject" is pointed "UIRoot Object", nothing NGUI Object on "ScreenPointToRay".
So, latest version "if(UICamera.hoveredObject != null)" code is always "True". 3D object and NGUI object touched both.
If "IsOverUI" and "hoverdObject" and "fallThrough" is only works with the mouse, how can I solve this problem?
I want to be touch only NGUI Object, 3D object and GUI object when in the same position in the viewport
This code is no problem NGUI 3.0.2 version, Editor and Mobile too.
But, latest version "UICamera.hoveredObject" is pointed "UIRoot Object", nothing NGUI Object on "ScreenPointToRay".
So, latest version "if(UICamera.hoveredObject != null)" code is always "True". 3D object and NGUI object touched both.
If "IsOverUI" and "hoverdObject" and "fallThrough" is only works with the mouse, how can I solve this problem?
I want to be touch only NGUI Object, 3D object and GUI object when in the same position in the viewport
