예제 #1
0
 /// <summary>
 /// Updates the script.
 /// </summary>
 public void Update()
 {
     ScriptInterpeter.Run(ScriptID);
 }
예제 #2
0
 /// <summary>
 /// Loads and tests a script for errors then runs it.
 /// </summary>
 /// <param name= "objn">Object name.</param>
 /// <param name= "isactive">If the script is executed.</param>
 /// <param name="file">Script file to be loaded.</param>
 public Script(string objn, bool isactive, string file)
 {
     ScriptInterpeter.Debug(file);
 }