PhysicsWorld.DrawTarget
Controls which Unity editor views a PhysicsWorld is drawn into. This only filters the built-in viewport rendering and does not control whether drawing occurs at all, which is governed by PhysicsWorld.DrawOptions and PhysicsCoreSettings2D.renderingMode.
阅读时间1 分钟最后更新于 22 天前
Definition
- Type: Enum
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public enum PhysicsWorld.DrawTarget