コード例 #1
0
    void InputForVehicle()
    {
        if (player.AssignedAvatar() == null)
        {
            return;
        }
        Vehicle vehicle = player.AssignedAvatar().ControlledVehicle();

        if (!vehicle)
        {
            return;
        }
        vehicleInput.SetVehicle(vehicle);
        vehicleInput.OnInput();
    }