public void ApplyToModelViewer() { characterViewer.SetIndex((int)currentIndex); if (backgroundSprites[(int)currentIndex] == null) { return; } backgroundView.GetComponent <UnityEngine.UI.Image>().sprite = backgroundSprites[(int)currentIndex]; }