private void DisplaySecondLevel() { B2.Clear(); B8.Clear(); B8.ReadOnly = false; B12.Clear(); B13.Clear(); B15.Clear(); B16.Clear(); B16.ReadOnly = false; B3.Text = "3"; B3.ReadOnly = true; B4.Clear(); B4.ReadOnly = false; B5.Clear(); B5.ReadOnly = false; B6.Text = "2"; B6.ReadOnly = true; B7.Clear(); B7.ReadOnly = false; B9.Text = "4"; B9.ReadOnly = true; B10.Clear(); B10.ReadOnly = false; B14.Text = "1"; B14.ReadOnly = true; }
private void DisplayThirdLevel() { B2.Clear(); B3.Clear(); B3.ReadOnly = false; B5.Clear(); B7.Clear(); B8.Clear(); B10.Clear(); B11.Clear(); B11.ReadOnly = false; B13.Clear(); B14.Clear(); B14.ReadOnly = false; B15.Clear(); B16.Clear(); B4.Text = "2"; B4.ReadOnly = true; B12.Text = "1"; B12.ReadOnly = true; }
// Start is called before the first frame update void Start() { stopWatch = new Stopwatch(); stopWatch.Start(); scoreText.text = "Score: " + score.ToString(); score = 0; b2 = FindObjectOfType <Bullet2script>(); b1 = FindObjectOfType <sc>(); b3 = FindObjectOfType <B3>(); b4 = FindObjectOfType <B4>(); b5 = FindObjectOfType <B5>(); b6 = FindObjectOfType <B6>(); b7 = FindObjectOfType <B7>(); b8 = FindObjectOfType <B8>(); b9 = FindObjectOfType <B9>(); b10 = FindObjectOfType <B10>(); b11 = FindObjectOfType <B11>(); b12 = FindObjectOfType <B12>(); b13 = FindObjectOfType <B13>(); b14 = FindObjectOfType <B14>(); b15 = FindObjectOfType <B15>(); b16 = FindObjectOfType <B16>(); b17 = FindObjectOfType <B17>(); b18 = FindObjectOfType <B18>(); b19 = FindObjectOfType <B19>(); b20 = FindObjectOfType <B20>(); b21 = FindObjectOfType <B21>(); b22 = FindObjectOfType <B22>(); b23 = FindObjectOfType <B23>(); b24 = FindObjectOfType <B24>(); b25 = FindObjectOfType <B25>(); b26 = FindObjectOfType <B26>(); b27 = FindObjectOfType <B27>(); b28 = FindObjectOfType <B28>(); b29 = FindObjectOfType <B29>(); b30 = FindObjectOfType <B30>(); b31 = FindObjectOfType <B31>(); b32 = FindObjectOfType <B32>(); b33 = FindObjectOfType <B33>(); b34 = FindObjectOfType <B34>(); b35 = FindObjectOfType <B35>(); b36 = FindObjectOfType <B36>(); b37 = FindObjectOfType <B37>(); b38 = FindObjectOfType <B38>(); b39 = FindObjectOfType <B39>(); b40 = FindObjectOfType <B40>(); b41 = FindObjectOfType <B41>(); }