/// <summary> /// If a directory specified relative to the Unity data dir is not yet in the PATH, add it. /// </summary> /// <param name="dirComponents">A directory name relative to the Unity data dir.</param> private void ConditionallyAddRelativeDir(string relativePortion) { if (IsRelativeDirIncludedInPath(relativePortion)) { // early out. return; } NewDirs.Add(PathTools.Combine(UnityDataDir, relativePortion)); }