Version: 2021.3

Physics2D.showColliderAABB

切换到手册
public static bool showColliderAABB ;

描述

Should the Collider Gizmos show the AABBs for each Collider?

This is only used in the editor to control Gizmo options.