public void LoadScript(string path) { if (IsActived) { IsStoped = true; } if (!File.Exists(path) || !path.EndsWith(".lua")) { return; } lua_manager.LoadFromFile(path); }