文档

Unity Engine

Unity Engine

GetShowCollisionLayer

Should the given layer be considered by the display filter.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

GetShowCollisionLayer(int)

Should the given layer be considered by the display filter.
public static bool GetShowCollisionLayer(int layer)

Parameters

layer

Returns

Type

Description

bool

Remarks

GetShowCollisionLayer(FilterWorkflow, int)

Should the given layer be considered by the display filter.
警告
Removed. Enum PhysicsVisualizationSettings.FilterWorkflow has been deprecated. Use APIs without this argument instead
public static bool GetShowCollisionLayer(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, int layer)

Parameters

filterWorkflow


layer

Returns

Type

Description

bool

Remarks