06-05-2022, 11:12 AM
Hi
I have a vague understanding of scriptable objects, so please correct me if I say something wrong.
From my understanding, you need to easily import/export splines to a simple data containing class. You can use the FluffyUnderware.Curvy.ImportExport.SerializedCurvySpline class, which is used for importing/exporting splines through the Import/Export wizard. Class should be self explanatory, but if needed you can see an usage of that class in the SplineJsonConverter class.
Please note that SerializedCurvySpline stores most data from a spline, but not all of it, like for example connections.
I hope this helped. Please let me know if you need further help.
If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
I have a vague understanding of scriptable objects, so please correct me if I say something wrong.
From my understanding, you need to easily import/export splines to a simple data containing class. You can use the FluffyUnderware.Curvy.ImportExport.SerializedCurvySpline class, which is used for importing/exporting splines through the Import/Export wizard. Class should be self explanatory, but if needed you can see an usage of that class in the SplineJsonConverter class.
Please note that SerializedCurvySpline stores most data from a spline, but not all of it, like for example connections.
I hope this helped. Please let me know if you need further help.
If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.