- Home /
 
              This question was 
             closed Apr 26, 2013 at 03:59 PM by 
             Graham-Dunnett for the following reason: 
             
 
            Too subjective and argumentative - too much bumping going on
Can eval() declare functions (such as Update())
When i tried to make eval declare the Update function (like this:)
 function Start() {
 eval("function OnGUI(){
 GUI.Box(Rect(310,20,300,50),"Test 123".ToString());
 }");
 }
 
               it said nothing, but it didn't work. Any tips? Thanks! -David
               Comment
              
 
               
              This is not a forum thread, and 2 bumps in less than 1 hour, seriously.
Also i have never heard of eval in .NET.
Follow this Question
Related Questions
Performance Optimization ~Function Update: Loop or Once ? 5 Answers
How to Update a score count going up and down 1 Answer
Update Function Work Around Question 2 Answers
What's FixedUpdate 2 Answers
javascript equivalent of Action? 0 Answers