void Awake() { circuitSignals = FindObjectOfType <TrackCircuitSignals> (); carsHolder = FindObjectOfType <CarsHolder> (); trainManager = FindObjectOfType <TrainManager> (); switchManager = FindObjectOfType <SwitchManager> (); scenario = FindObjectOfType <Scenario> (); IndicationManager.Instance.Init(); TrackPath.Instance.Init(); TrackCircuitManager.Instance.Init(); switchManager.Init(); TrafficLightsManager.Instance.Init(); RouteDictionary.Instance.Init(); carsHolder.Init(); CompositionManager.Instance.Init(); trainManager.OnAwake(); CouplerManager.Instance.Init(); scenario.OnAwake(); }