// Makes a RecruitUI for the unit and places in the right position
    public void CreateRecruit(int index, int totalCount, Unit unit)
    {
        // Find the position
        Vector3 position = spawnParent.GetChild(index).position;

        //Instantiate RecruitUI under the manager
        Recruited recruit = Instantiate(RecruitUIPrefab, position, Quaternion.identity, transform).GetComponent <Recruited>();

        recruit.Setup(unit);
    }