public Script(string path, string name, Plugin_Core refer) { Parent = refer; FileName = name.Replace(".py", ""); ScriptExec = new Interpreter(); ScriptExec.addVar("Log", new Action <object>(log)); ScriptExec.loadCode(path); }
public Script(string path, string name, Plugin_Core refer) { Parent = refer; this.name = name.Replace(".py", ""); ScriptExec = new Interpreter(); ScriptExec.addVar("Log", new Action<object>(log)); ScriptExec.loadCode(path); }