其他分享
首页 > 其他分享> > unity 显示场景所有collider信息

unity 显示场景所有collider信息

作者:互联网

https://ultromanthetacoman.wordpress.com/2018/02/23/draw-unselected-colliders-in-unity/

https://forum.unity.com/threads/show-all-colliders-in-editor-solved.60352/

 

1. 2d在Edit > Project Settings > Physics 2D > Gizmos > Always Show Colliders

2.Physics Debug

3.读取gameobject中collider com,使用OnDrawGizmos自行绘制

标签:场景,collider,com,unity,https,Physics,colliders
来源: https://www.cnblogs.com/sun-shadow/p/16562829.html