isRenderingAllowed
Get if rendering is currently allowed. Rendering is always allowed in the Editor however it is only allowed elsewhere depending on PhysicsCoreSettings2D.renderingMode.
阅读时间1 分钟最后更新于 22 天前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static bool isRenderingAllowed { get; }