Beispiel #1
0
 public void SubmitClick(DailyReport dailyReport)
 {
     _daily.DestructGenerals();
     dailyReport.Hide();
     dailyReport.CheckValueParity();
     MorningReport.Show();
 }
Beispiel #2
0
        public void Start()
        {
            GeneralList.AddRange(GameObject.FindGameObjectsWithTag("General"));
            ListeningDevList.AddRange(GameObject.FindGameObjectsWithTag("ListeningDevice"));
            TechList.AddRange(GameObject.FindGameObjectsWithTag("Player"));
            TechList[0].gameObject.GetComponent <Technician>().IsActive = true;
            ActiveTech    = TechList[0];
            ActiveTechNum = 0;

            _fundingText      = GameObject.FindGameObjectsWithTag("FundingText")[0].GetComponent <Text>();
            _fundingText.text = "£" + FundingAmount.ToString("0000");
            _dailyReport      = UnityEngine.Object.FindObjectOfType <DailyReport>();
        }