Exemplo n.º 1
0
        private static void SetVehicleSpec(AtsVehicleSpec vehicleSpec)
        {
            AtsDebug.LogInfo($"Called: {nameof(SetVehicleSpec)}()");


            AtsSimulationEnvironment.Instance.OnVehicleSpecPresented(vehicleSpec);
        }
Exemplo n.º 2
0
        private static void SetVehicleSpec(AtsVehicleSpec vehicleSpec)
        {
            AtsDebug.LogInfo(string.Format("Called: {0}()", nameof(SetVehicleSpec)));


            AtsSimulationEnvironment.Instance.OnVehicleSpecPresented(vehicleSpec);
        }
Exemplo n.º 3
0
        internal void OnVehicleSpecPresented(AtsVehicleSpec vehicleSpec)
        {
            ControlHandle = new AtsControlHandle(vehicleSpec);

            foreach (IAtsBehaviour behaviour in Behaviours)
            {
                behaviour.OnActivate();
            }
        }