07-01-2019, 01:32 PM
Hello, I would like to know if it's possible to duplicate a CurvySpline by code please ?
Thank you
Thank you
Duplicate CurvySpline
|
07-01-2019, 01:32 PM
Hello, I would like to know if it's possible to duplicate a CurvySpline by code please ?
Thank you
07-01-2019, 04:55 PM
Hi,
A simple Code: Instantiate(yourSpline); In case you are not familiar with this method, it's a Unity method that duplicates a gameobject. If you want to have more control on the copying process, you can make some custom copying code that will look like this: Code: void Clone(CurvySpline spline)
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
I have a question about curvySpline | haifeng.huang | 12 | 29 |
07-14-2023, 09:34 AM Last Post: _Aka_ |
|
"Deadloop in CurvySPline.Refresh" spam | Valkymaera | 3 | 11 |
05-30-2023, 10:56 AM Last Post: _Aka_ |
|
Closed splines and duplicate points | jh092 | 3 | 8 |
07-24-2022, 01:54 PM Last Post: _Aka_ |
|
Is curvyspline a good solution for a 2D rail grinding game? | bazz_boyy1 | 2 | 6 |
03-01-2022, 11:49 AM Last Post: _Aka_ |