/** * Creates a hint to where the units will move to. **/ private void ShowTargetClue(Vector3 offset) { GameObject targetClue = selectionCirclePool.GetObject(); targetClue.transform.position = hitInfo.point + offset; targetClue.transform.eulerAngles = new Vector3(90, 0, 0); targetClue.GetComponent <Projector>().orthographicSize = 1f; targetClue.GetComponent <Animation>().Play("SelectionFadeOut"); context.GetMonoBehaviour().StartCoroutine(Utils.ExecuteAfterTime(1f, () => PutBackToPool(targetClue))); }