public override void DrawGizmos(Color color) { if (m_origin != null) { Gizmos.color = color; var size = m_origin.transform.localScale.x; var rectangle = new KaiTool_Rectangle(m_origin, 10f * size, 10f * size); rectangle.DrawGizmos(color); } }