ドキュメント

Unity Engine

Unity Engine

SetShowCollisionLayer

Should the given layer be considered by the display filter.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

SetShowCollisionLayer(int, bool)

Should the given layer be considered by the display filter.
public static void SetShowCollisionLayer(int layer, bool show)

Parameters

layer


show

Remarks

Additional Resources: Layers.

SetShowCollisionLayer(FilterWorkflow, int, bool)

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 void SetShowCollisionLayer(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, int layer, bool show)

Parameters

filterWorkflow


layer


show

Remarks

Additional Resources: Layers.