コード例 #1
0
 /// <summary>
 /// Combine the current path with another input path of type string
 /// </summary>
 /// <param name="path">the path to be added into</param>
 /// <returns>resulting file path</returns>
 public FilePath Combine(string path)
 {
     FilePath result = null;
     if (path == null || path == "")
     {
         result = new FilePath(this.GetNetPath());
     }
     else if (path.ToCharArray()[0] == '/')    // absolute path
     {
         result = new FilePath(path);
     }
     else
     {
         result = new FilePath(this.GetNetPath());
         result.AddPath(path);
     }
     return result;
 }
コード例 #2
0
 void IDataManager.ChangeCurrentDirectory(FilePath path)
 {
     m_CurrentDirectory = path;
 }
コード例 #3
0
 void IDataManager.ChangeCurrentDirectory(FilePath path)
 {
     m_CurrentDirectory = path;
 }