disableDrawOverride
Controls whether this world ignores the Editor draw override and always draws with its own draw settings. The Editor draw override lets a user replace the draw settings of every world from the Editor preferences, without changing any world or project setting. Set this to true for a world whose drawing must never change that way, such as a world that exists only to draw editor tooling. This is not part of the world definition, so writing a definition to the world leaves it unchanged. It has no effect in a player, where there is no override.
Read time 1 minuteLast updated a day ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public bool disableDrawOverride { get; set; }