Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以和 unity puerts 一起用吗? #50

Open
AlwaysBusyLzc opened this issue Mar 20, 2024 · 1 comment
Open

可以和 unity puerts 一起用吗? #50

AlwaysBusyLzc opened this issue Mar 20, 2024 · 1 comment

Comments

@AlwaysBusyLzc
Copy link

请问 客户端用unity puerts, 服务器用 tsrpc 可行吗?

@ken1691
Copy link

ken1691 commented Apr 7, 2024

用unity+puerts,在后端把shared映射过去就行了.

    // tsrpc.config.ts
    sync: [
        // 客户端(puerts)
        {
            from: 'src/shared',
            to: '../puerts/src/shared', // puerts项目目录
            type: 'symlink'
        },
        // 登录服务器
        {
            from: 'src/shared',
            to: '../LoginServer/src/shared',
            type: 'symlink'
        },
        // 地图服务器
        {
            from: 'src/shared',
            to: '../MapServer/src/shared',
            type: 'symlink'
        },        
        // 战斗服务器
        {
            from: 'src/shared',
            to: '../BattleServer/src/shared',
            type: 'symlink'
        },
        // 其他服务器
        // ...
    ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants