ドキュメント

Unity Engine

Unity Engine

alwaysDrawWorlds

Get if worlds are always drawn independent of whether rendering is currently active or not as specified by PhysicsWorld.renderingMode. When true, world drawing is always active and a PhysicsEvents.WorldDrawResults event is produced containing the PhysicsWorld.DrawResults. When false, world drawing only occurs depending on the PhysicsWorld.renderingMode setting. This can be controlled via PhysicsCoreSettings2D.alwaysDrawWorlds.
読み終わるまでの所要時間 1 分最終更新 24日前

Definition

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