Quantcast
Channel: Latest Questions by lancer
Viewing all articles
Browse latest Browse all 72

Eval not working??

$
0
0
I'm trying to use eval() in my script, but I keep getting this error about it: (1,1): BCE0172: `UnityScript.Scripting.IEvaluationDomainProvider' interface member implementation must be public or explicit. My code is only this: var EvalString : String; eval(EvalString); And I removed pragma strict too, so I don't get what is happening here. Do you see something I am doing wrong?? Do I have to import something to use eval()? **EDIT**: What I am trying to do, is to have a GUI text area where the user can type in unityscript and when they press a play button in the game it will run the script that they typed into the text area.

Viewing all articles
Browse latest Browse all 72

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>