void Input() { timer += Time.deltaTime; if (timer > interval) { timer = 0; _posStart = Quaternion.AngleAxis(-angle, Vector3.forward) * _posStart; } this.BeginOrtho(); var posRT = UI.AbsRefPos(this); var pos = _posStart; var s = pointSize; for (int i = 0; i < count; i++) { s += sizeDelta; pos = Quaternion.AngleAxis(angle, Vector3.forward) * pos; UITool.DrawSquare(posRT + pos, s, color, true); } }