Пример #1
0
    public void Other()
    {
        RemindersTX.color = new Color32(26, 28, 46, 255);
        ImportantTX.color = new Color32(148, 148, 148, 255);
        UpcomingTX.color  = new Color32(148, 148, 148, 255);

        foreach (GameObject IR in ImportantReminders)
        {
            if (IR.activeSelf == false)
            {
                IR.SetActive(true);
            }
        }

        foreach (GameObject UR in UpcomingReminders)
        {
            if (UR.activeSelf == false)
            {
                UR.SetActive(true);
            }
        }

        foreach (GameObject OR in OtherReminders)
        {
            if (OR.activeSelf == false)
            {
                OR.SetActive(true);
            }
        }
    }