public void Start() { SetCollisionAvoidance(); SetNextCharacter(); var iconList = new List <Sprite>(); foreach (var c in characters) { iconList.Add(c.icon); } characterUi.InitialiteSprites(iconList); }