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.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static bool isRenderingAllowed { get; }