Canvas With Box Colliders Confusion

断了今生、忘了曾经 提交于 2019-12-11 17:52:44

问题


I have a canvas with Render Mode: Screen Space - Camera

Inside that I have square objects that I want collisions to be detected based off world view game objects. (Reason for this they need to scale based off device screen size)

I added a 2D box colliders to theses boxes but then get this error.

Error: this collider will not function with an effector until there is at least one enabled 2D effector on this GameObject

How can I detect Collisions of game objects in world view with tag "a" when they collide with my Canvas objects with tag "b"

来源:https://stackoverflow.com/questions/52789304/canvas-with-box-colliders-confusion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!