Make "export to .vpx" available in the editor #21
Labels
editor
Editor-related changes for Unity
enhancement
New feature or request
unity
Concerns the Unity project
Milestone
VPE can write
.vpx
files, but currently there is no way from the editor to actually do that.A
.vpx
file consist of:If we want to read and write data in a consistent way, we need Unity to serialize it so what we want to write is also available runtime and doesn't get lost during reloads.
That means our data classes need to be all
[Serializable]
. Before writing, we would create a newTable
object based on the serialized data, and then use its API to write the.vpx
. So what needs to be done:GameObject
To be clear, this means that we create a new
.vpx
from scratch every time we export (as opposed to taking an existing file and only patching the differences).The text was updated successfully, but these errors were encountered: