Documentation

Unity Engine

Download Unity

Unity Engine

isRenderingAllowed

Get if rendering is currently allowed. Rendering is always allowed in the Editor however it is only allowed elsewhere depending on PhysicsCoreSettings2D.renderingMode.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static bool isRenderingAllowed { get; }