Closed FireDragonGameStudio closed 6 years ago
This is 2017.1 specific then. I personally run 2017.3. I will download 2017.1 tomorrow and have a look at this.
Just checked the 2017.1 documentation, and yes. Constant does not exist. However, the Linear constructor makes more sense than EaseInOut.
Thank you for the great support! :)
Hy, again ^^ I just managed to import MLAPI successfully but run into an issue with the MLAPI Profiler. The static method
AnimationCurve.Constant(float timeStart, float timeEnd, float value)
was added in Unity2018 and can not be used in Unity2017. To solve this I replaced it withAnimationCurve.EaseInOut(float timeStart, float valueStart, float timeEnd, float valueEnd)
starting with value 0, from which I think it is the equivalent. Is this solution right? Maybe a compiler directive for Unity2017 can be added, to prevent this.Code example
2018 version
2017 version
Your Environment
Best regards :)