private static void DrawBezier(Vector3[] points, NetDisplaySettings settings, bool isIntersection) { Color c = isIntersection ? Color.blue : settings.curveColor; Handles.DrawBezier(points[0], points[3], points[1], points[2], c, null, settings.curveThickness); }
void LoadNetDisplaySettings() { netDisplaySettings = NetDisplaySettings.Load(); labelStyle = netDisplaySettings.guiStyle; }