예제 #1
0
    //---------------------------------------------------
    static string GetAssemblyPath(out string mdb_path)
    {
        mdb_path = "";
        string path = CDirectory.MakeFilePath(_DllPath);

        if (!Application.isMobilePlatform)
        {
            path = Application.dataPath + "/../Library/ScriptAssemblies/" + "Assembly-CSharp.dll";
            if (File.Exists(path))
            {
                mdb_path = Application.dataPath + "/../Library/ScriptAssemblies/" + "Assembly-CSharp.dll.mdb";
            }
            else//client_build的路径
            {
                path     = CDirectory.MakeFilePath(_DllPath);
                mdb_path = CDirectory.MakeFilePath(_MDBPath);
            }
        }
        return(path);
    }