Пример #1
0
    public void ApplyToModelViewer()
    {
        characterViewer.SetIndex((int)currentIndex);

        if (backgroundSprites[(int)currentIndex] == null)
        {
            return;
        }

        backgroundView.GetComponent <UnityEngine.UI.Image>().sprite = backgroundSprites[(int)currentIndex];
    }