FixedUpdate.ClearLines
Native Player loop system that clears debug lines drawn with Debug.DrawLine and Debug.DrawRay during the previous fixed update.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.PlayerLoop
- Assembly: UnityEngine.CoreModule
public struct FixedUpdate.ClearLines
Remarks
This system is active only in the Editor. It removes lines drawn without a duration during the previous fixed update. Lines with a duration are removed in once their duration passes.
EarlyUpdate.ClearLinesThis struct identifies a native system in the Player loop. It has no members, and the system's update logic runs in native engine code. Use this type with PlayerLoopSystem.type to find the system when you reorder, replace, or remove it in a custom Player loop. For more information, refer to Customizing the Player loop.