make the nav path always visible in the editor

This commit is contained in:
jparent 2015-08-17 15:56:18 -04:00
parent a9a9317ec1
commit 64f51c9f1e

View File

@ -18,7 +18,7 @@ public class Node : MonoBehaviour {
} }
void OnDrawGizmosSelected() { void OnDrawGizmos() {
if (n_up != null) { if (n_up != null) {
Gizmos.color = Color.red; Gizmos.color = Color.red;
Gizmos.DrawLine(pos, n_up.pos); Gizmos.DrawLine(pos, n_up.pos);