// all the Set/Is methods expect absolute paths (as opposed to the way they're // actually stored) public void SetPathHidden(string path, bool isHidden) { path = GetRelativePath(path); if (isHidden) { hiddenPaths.Add(path); } else { hiddenPaths.Remove(path); } }
// all the Set/Is methods expect absolute paths (as opposed to the way they're // actually stored) public void SetPathHidden(string path, bool isHidden) { path = GetRelativePath(path); if (isHidden) { hiddenPaths.Add(path); compileTargets.RemoveAtOrBelow(path); // can't compile hidden files libraryAssets.RemoveAtOrBelow(path); // can't embed hidden resources } else { hiddenPaths.Remove(path); } }