// Update is called once per frame void Update() { for (int i = 1; i <= cp.textComp.text.Length; i++) { cp.GetWorldPosition(i); } }