I've upgraded from using Curvy in Unity 4.3 to now Unity 5.2. I am having an issue with initialization and playing. Previously, I would call the Initialize function after assigning a CurvyPath to my object and that worked great. But now there is no Initialization function at all. And when I check the IsInitialized and IsPlaying properties when running the game, they are both false. Note that I have a SplineController component attached to my game object, but do not assign a CurvyPath to it. I later assign a CurvyPath in code during runtime. So it seems that something needs to be done after assigning the path so that everything with be initialized and start playing. I tried the Refresh function but that didn't work. I also tried calling Play, but that didn't work either.
So, what do I need to do after assigning a path in code so that it'll get initialized and start playing?
EDIT: I see in the API introduction that I need to wait for IsInitialized to be true before using it, but in my case I'm not "using" it per se. I am simply assigning the CurvySpline to the SplineController and expecting it to automatically play. I don't actually do anything else beyond that. And no matter how long I wait, the IsInitialized is never true. So, there must be something else I'm missing.
So, what do I need to do after assigning a path in code so that it'll get initialized and start playing?
EDIT: I see in the API introduction that I need to wait for IsInitialized to be true before using it, but in my case I'm not "using" it per se. I am simply assigning the CurvySpline to the SplineController and expecting it to automatically play. I don't actually do anything else beyond that. And no matter how long I wait, the IsInitialized is never true. So, there must be something else I'm missing.