Version: 2021.3

Physics2D.showColliderContacts

切换到手册
public static bool showColliderContacts ;

描述

Should the Collider Gizmos show current contacts for each Collider?

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