private void Update() { switch (radiusMode) { case mode.increasing: radius += Time.deltaTime * changeRate; DebugUtility.DrawCircle(transform.position, radius, Color.red); circle.radius = radius * (1 / transform.parent.gameObject.transform.localScale.x); return; case mode.decreasing: radius -= Time.deltaTime * changeRate; DebugUtility.DrawCircle(transform.position, radius, Color.yellow); circle.radius = radius * (1 / transform.parent.gameObject.transform.localScale.x); return; case mode.same: DebugUtility.DrawCircle(transform.position, radius, Color.green); return; } }