autoClearCustom
Controls whether this world's custom draw is automatically cleared each frame. When enabled (the default), custom draw elements with a lifetime of zero are cleared each frame so they must be submitted every frame to remain visible. When disabled, custom draw is retained until PhysicsWorld.ClearDraw is called, so it persists across frames and repaints without being resubmitted.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public bool autoClearCustom { get; set; }