private void DrawCircleSegments(Vector3 center) { int numSegments = (int)Mathf.Floor(8.0f + 8.0f * (1.0f + Mathf.Sin(m_phase))); Color color = (m_style == DebugUtil.Style.Wireframe ? m_wireframeColor : new Color(0.8f, 0.5f, 0.0f)); DebugUtil.DrawCircle2D(center + m_basePos, 1.0f, numSegments, color, true, m_style); }
private void DrawCircleSegments(Vector3 center) { int numSegments = (int)Mathf.Floor(8.0f + 8.0f * (1.0f + Mathf.Sin(m_phase))); DebugUtil.DrawCircle2D(center + m_basePos, 1.0f, numSegments, Color.white); }