Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
tk2dUIItem events don't fire if Raycast Type == Physics2D in Tk 2d UICamera
« previous
next »
Print
Pages: [
1
]
Author
Topic: tk2dUIItem events don't fire if Raycast Type == Physics2D in Tk 2d UICamera (Read 3977 times)
RyuK
2D Toolkit
Newbie
Posts: 6
tk2dUIItem events don't fire if Raycast Type == Physics2D in Tk 2d UICamera
«
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?
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: tk2dUIItem events don't fire if Raycast Type == Physics2D in Tk 2d UICamera
«
Reply #1 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.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
tk2dUIItem events don't fire if Raycast Type == Physics2D in Tk 2d UICamera