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 a month ago

Definition

Warning
Deprecated. showNavigation is no longer supported and will be removed.
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.