public override void DrawGizmo(MetaDataLayer source, Vector3Int position) { MetaDataNode node = source.Get(position, false); foreach (MetaDataNode neighbor in node.Neighbors) { if (neighbor != null) { Vector3 p2 = LocalToWorld(neighbor.ReactionManager, neighbor.Position); p2 = WorldToLocal(source, p2); GizmoUtils.DrawRay(position, p2 - position); } } }