public void RenameSet(string name) { string path = SetManager.FullCategory + "\\" + name; if (Directory.Exists(path)) { inputSet.text = SetManager.Name; } else { SetManager.MoveTo(path); LevelManager.Load(LevelManager.Level.ShortName); } }