Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


showNavigation

A count of how many users requesting navigation debug graphics to be enabled.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor.AI
  • Assembly: UnityEditor.AIModule
Warning
Deprecated. showNavigation is no longer supported and will be removed.
[NoAutoStaticsCleanup]public static int showNavigation { get; set; }

Remarks

If the value is positive, NavMesh debug graphics will be showed in the Scene view. Typically usage is to increase this number when enabling an Editor used for visualizing a NavMesh component. And then decrease it when the editor is closed – e.g. OnDisable.