安装PPTP客户端 apt-get install pptp-linux 设置连接账号信息 sudo vim /etc/ppp/chap-secrets 其中$login_name是登录名:$password是登录密码:$ip如果为*表示为服务器分配,否则自己指定即可.$server_name为服务连接的别名,需要与实际配置文件中的remotename一致 # Secrets for authentication using CHAP # client server secret IP addr…
准备:Unity开开发IDE. 一.新建Unity3D项目 导入包,在资源下新建目录 Plugins .在之前解压的SDK目录 lib中找到 Photon3Unity3D.dll,拖到新建的目前下 二.新建目录 Scripts ,添加c#文件,PhotonManager.cs . 注意:如果部署的是云服务,记得开放相应端口. using System; using System.Collections; using System.Collections.Generic; using UnityE…