02-29-2020, 11:19 PM
Hi,
- I am looking into this
- The documentation of OnValidate says: "This function is called when the script is loaded or a value is changed in the Inspector". So your error happens when executing OnValidate when script is loaded, because the Curvy Generator modules are not ready yet. Add this at the start of your OnValidate and it should work
Code:if (isActiveAndEnabled == false)
return; - If by different you mean displayed differently, then
(02-23-2020, 12:01 AM)_Aka_ Wrote:But if you mean that the actual value is different, then it's normal, it's two different scripts and the values have different meanings. You can synchronize them in your own script using the API if this is what you want
- The difference between ShapeExtrusion's Range and SplineController's Position is that they don't use the same property drawer. The latter uses RangeEx, an extension of the Range attribute, that allows for dynamic values
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.