/// <summary> /// Updates the script. /// </summary> public void Update() { ScriptInterpeter.Run(ScriptID); }
/// <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); }