Class for switching between settings panels (graphics, sounds, etc?...).
상속: MonoBehaviour
예제 #1
0
    public void ApplyTheme()
    {
        SettingsMenuControl csm = SettingsMenu.GetComponent <SettingsMenuControl>();

        bck.sprite = csm.returnSelected();
        ApplyTextTheme();
    }
예제 #2
0
    public void ApplyTextTheme()
    {
        SettingsMenuControl tcs = SettingsMenu.GetComponent <SettingsMenuControl>();
        Color cc = tcs.retCol();

        // tcs.colPrev.color = cc;

        for (int i = 0; i < tfs.Length; i++)
        {
            tfs[i].color = cc;
        }
    }