Example #1
0
    public void BackGroundButtonClick()
    {
        Ball1.SetActive(false);
        Ball2.SetActive(false);
        Ball3.SetActive(false);
        Ball4.SetActive(false);
        Ball5.SetActive(false);
        Ball6.SetActive(false);
        Ball7.SetActive(false);

        BRed.SetActive(true);
        BGreen.SetActive(true);
        BBlue.SetActive(true);
        BRedText.SetActive(true);
        BGreenText.SetActive(true);
        BBlueText.SetActive(true);
    }
 private void ReturnToInitialSettings()
 {
     TableOfResults.Clear();
     B1.Opacity = 0;
     B2.Opacity = 0;
     B3.Opacity = 0;
     B4.Opacity = 0;
     Ball1.InitialSettings();
     Ball2.InitialSettings();
     Ball0.InitialSettings();
     Ball3.InitialSettings();
     Ball4.InitialSettings();
     Ball5.InitialSettings();
     Ball6.InitialSettings();
     Ball7.InitialSettings();
     Ball8.InitialSettings();
     Ball9.InitialSettings();
 }