Documentation

Unity Engine

Unity Engine

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 2 months ago

Definition

public static bool isRenderingAllowed { get; }