Hi to all, i would like to know how to convert a string that contain a Mathf functions (ex : Mathf.Sin(Mathf.Pow(1, 2.0) + Mathf.Pow(2, 2.0))) to Javascript language, without incurring in this error :
How does it work???
I searched for the eval function and found a massive wall of forum posts / QA posts that are saying its not possible because C# is a complied language and not a interpreter one.
UnityScript.Scripting.IEvalutationDomainProvider’ interface member implementation must be public or explicit
My intention is that write more formulas like that in my first comment, and convert these to float (ex : graph.tk), but without convert string into JS i can’t make this.