isRenderingAllowed
Get if rendering is currently allowed. Rendering is always allowed in the Editor however it is only allowed in build if PhysicsLowLevelSettings2D.drawInBuild is active when building.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static bool isRenderingAllowed { get; }