/// <summary>
    /// 读取文本文件内容
    /// </summary>
    /// <returns>The text.</returns>
    /// <param name="fileName">File name.</param>
    public string LoadText(string fileName)
    {
        string rtn = m_assetLoader.LoadText(fileName);

        if (null != rtn)
        {
            return(rtn);
        }

        return(m_resourceLoader.LoadText(fileName));
    }
Beispiel #2
0
 public string LoadText(string url)
 {
     return(m_ResourcesLoader.LoadText(url));
 }