# Gizmos
Gizmos相关接口
Kind: global class
# gizmos.showColliderGizmo(collider)
显示collider
Kind: instance method of Gizmos
Param | Type |
---|---|
collider | engine.Collider |
# gizmos.hideColliderGizmoWhenNotSelected(collider)
当collider的entity没有被选中,且collider.lockCollider!=false,隐藏collider的gizmo
Kind: instance method of Gizmos
Param | Type |
---|---|
collider | engine.Collider |