Quantcast
Channel: Questions in topic: "eval"
Viewing all articles
Browse latest Browse all 80

Question on UnityScript.Scripting.Evaluator.Eval

$
0
0
Hello, my game uses dynamic loading of scripts from the server. There was a problem in IEnumeration. I use this code: function JS():IEnumerator{ www=new WWW("https://sun9-13.userapi.com/c857524/v857524493/17be85/9nJDTRvPlZA.jpg"); while (!www.isDone) yield null; GameObject.Find("Cube").GetComponent(MeshRenderer).material.mainTexture=www.texture; } JS();

Viewing all articles
Browse latest Browse all 80

Latest Images

Trending Articles





Latest Images