Table of Contents

Enum UpdateMode

Controls when the DebugDraw system updates itself.
It's important to set this appropriately depending on where your game logic happens.

If you are using DebugDraw inside FixedUpdate, set the update mode to FixedUpdate to prevent possible flickering visuals.

public enum UpdateMode

Fields

FixedUpdate = 1

Use this if your game logic and DebugDraw usage happens during Unity's FixedUpdate callback.

Update = 0

Use this if your game logic and DebugDraw usage happens during Unity's Update callback.