> For the complete documentation index, see [llms.txt](https://distubredone322.gitbook.io/custom-vehicle-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://distubredone322.gitbook.io/custom-vehicle-controller/guides/package-settings/assets-save-location.md).

# Assets Save Location

You can manage the package settings from the "Package Settings" window.

Open the window by going to Tools -> CustomVehicleController -> Package Settings.

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FWyJOmezuxN3TISL69XTH%2Fimage.png?alt=media&amp;token=adb6da5d-08be-4e32-b950-dc641fd12a68" alt="" width="349"><figcaption></figcaption></figure></div>

A package setting window should open:

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2Fk6w3wJYy9MHiHP3Vj5nq%2Fimage.png?alt=media&amp;token=7b5b371a-ab7a-4710-b1a7-5e28c8ed174c" alt="" width="532"><figcaption></figcaption></figure></div>

## 1. Asset Save Location

You can select custom path location for the created vehicle parts.

{% hint style="info" %}
The default path for the vehicle parts is:

<mark style="color:orange;">"CustomVehicleController/VehicleController/VehicleParts/{Vehicle Part Type Name}".</mark>&#x20;

The default path for the engine parts is:

<mark style="color:orange;">"CustomVehicleController/VehicleController/VehicleParts/EngineParts/{Engine Part Type Name}"</mark>
{% endhint %}

1. Change the "Default Save Paths" toggle to false:

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FLCz8VVdcpARQcQgwn07D%2Fimage.png?alt=media&amp;token=8265e60c-68ae-47b2-838e-d519302e73a4" alt="" width="490"><figcaption></figcaption></figure></div>

Buttons that allow you to select custom paths should become active.

{% hint style="info" %}
If you set the "Default Save Paths" toggle to false, you'll have to provide a save path for every vehicle part type.
{% endhint %}

Click on every "Select Path" button and from the explorer window select a folder <mark style="color:red;">within the project</mark> where newly created vehicle parts of a certain part type will be saved.&#x20;

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FUpRWgWvIIhZj550IADj3%2Fimage.png?alt=media&amp;token=11dec4d3-4086-4cd2-9aa7-1e46e50a8adb" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
The save system doesn't actually use a path you provide as a string. It uses a GUID instead. This means that if you move a folder to another place, you won't have to update the path manually.
{% endhint %}

{% hint style="warning" %}
Do not create folders from this window, Unity doesn't detect them. Path won't be set and assets won't be moved.
{% endhint %}

After you select a new save path for a vehicle part type, a window will pop up asking whether you want to move every part of this type into a newly selected folder.&#x20;

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2Fdc0BlGNi8htqDKLnhzaX%2Fimage.png?alt=media&amp;token=790fc9d7-bc30-4755-9aee-f3d7d44b141c" alt="" width="533"><figcaption></figcaption></figure></div>

In the case of the default vehicle part types (Engine, Transmission, Forced Induction, etc) and Presets, every scriptable object instance of one of these types will be found within the project and moved into the new location.

Custom Engine parts will be moved in another way. If you select "Yes", all folders withing the root folder for the engine part assets will be moved from the <mark style="color:red;">current location</mark> into a new one. The default root location is <mark style="color:orange;">"CustomVehicleController/VehicleController/VehicleParts/EngineParts"</mark>

{% hint style="warning" %}
Since version 2.0.1, the one that introduced the Package Settings window, the project's architecture changed.&#x20;

New Engine Part classes used to be saved into the <mark style="color:orange;">"CustomVehicleController/VehicleController/VehicleParts/EngineParts/{new part type name}"</mark> along with the scriptable object assets of this type.&#x20;

Now the classes will be saved into the <mark style="color:orange;">"CustomVehicleController/VehicleController/VehicleParts/EngineParts"</mark> folder and the new assets - into the subfolders for their specific type.

The reason is that after moving the classes into a different location, they weren't recognized in the project anymore and required reimport. If you downloaded the package prior to this update, you may have to manually move the classes into the <mark style="color:orange;">"CustomVehicleController/VehicleController/VehicleParts/EngineParts"</mark> manually. Alternatively, after selecting a new folder for engine part assets and moving the old ones, reimport the folder with the classes.
{% endhint %}

If you want to reset the save paths, navigate to <mark style="color:orange;">"CustomVehicleController/Editor/PackageSettings"</mark> and select the ProjectSettings scriptable object. Click on the "Reset" button.

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FzIziMbh6zty1k4KolbhC%2Fimage.png?alt=media&amp;token=908c9570-7de9-4ec9-9bb5-7b6ac541609a" alt="" width="409"><figcaption></figcaption></figure></div>
