Version: 2021.1

Physics2D.alwaysShowColliders

切换到手册
public static bool alwaysShowColliders ;

描述

Enable to always show the Collider Gizmos even when they are not selected.

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