Пример #1
0
        // Use this for initialization
        void Start()
        {
            _forkliftInput = forklift.GetComponent <ForkliftPlayerInput>();
            _vehicleInput  = forklift.GetComponent <WSMVehiclePlayerInput>();

            FormatControlsText();
        }
Пример #2
0
        // Use this for initialization
        void Start()
        {
            if (backhoe != null)
            {
                _backhoeInput = backhoe.GetComponent <BackhoePlayerInput>();
                _vehicleInput = backhoe.GetComponent <WSMVehiclePlayerInput>();

                FormatControlsText();
            }
        }
Пример #3
0
        // Use this for initialization
        void Start()
        {
            if (dumpTruck != null)
            {
                _dumpTruckInput = dumpTruck.GetComponent <DumpTruckPlayerInput>();
                _vehicleInput   = dumpTruck.GetComponent <WSMVehiclePlayerInput>();

                FormatControlsText();
            }
        }