mirror of
https://github.com/ConjureETS/VZ.git
synced 2026-03-24 10:21:14 +00:00
make the nav path always visible in the editor
This commit is contained in:
parent
a9a9317ec1
commit
64f51c9f1e
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user