void Awake() { logSeriesId = LoggerAssembly.GetLogSeriesId(); globalParam = FindObjectOfType <FlashPedestriansGlobalParameters>(); flashInformer = FindObjectOfType <FlashPedestriansInformer>(); freeMessageWindow = FindObjectOfType <FlashFreeMessageWindowController>(); }
void Awake() { logSeriesId = LoggerAssembly.GetLogSeriesId(); stationUI = GameObject.Find("StationUI"); stationController = this.GetComponent <StationController>(); camera = Camera.main; messageWindow = FindObjectOfType <FlashFreeMessageWindowController>(); if (ebpc == null) { ebpc = FindObjectOfType <EventButtonPanelController>(); } if (stationController != null) { UpdateStationMaterial(stationController.outOfService); } }