Version: 2020.3

Physics2D.showColliderSleep

切换到手册
public static bool showColliderSleep ;

描述

Should the Collider Gizmos show the sleep-state for each Collider?

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