Saving prefab on build?

I have a vehicle that the player can modify - change colors, attach parts, etc… and I have set up so I can save the modified version as a prefab. It saves and I can pull it into the game in the editor just fine.

My question is, when I save and build the game, could I have the car saved as a prefab into resources file (or anywhere) as something like “playerCar”, then when I want to load it, load it from there?

I guess the real question is, are the UnityEditor scripts going to work in the final build, or do they only work when actually running the editor?

I hope this was the right section of the forum.

The whole UnityEngine assembly and namespace is unavailable at runtime, and can only be used in the editor, yes.

1 Like

Thank you for the reply, I was afraid that was the case.