2D Toolkit Forum

2D Toolkit => Support => Topic started by: RyuK on April 22, 2014, 05:38:14 am

Title: tk2dUIItem events don't fire if Raycast Type == Physics2D in Tk 2d UICamera
Post by: RyuK on April 22, 2014, 05:38:14 am
Hi, I followed the tutorial
http://www.unikronsoftware.com/2dtoolkit/docs/latest/ui/getting_started.html
and tried these events with my script
http://www.unikronsoftware.com/2dtoolkit/docs/latest/ui/system.html
but when I change Raycast Type == Physics2D in Tk 2d UICamera, events are not fired (Physics3D is fine).
Is it by design or is there any workaround for this?
Title: Re: tk2dUIItem events don't fire if Raycast Type == Physics2D in Tk 2d UICamera
Post by: unikronsoftware on April 22, 2014, 02:30:38 pm
The built in components use 3D physics. 2D physics is only supported if you want to build your own gui components with the built in scripts.