add:部署青州泰华城 浙江金华科技馆
This commit is contained in:
@@ -38,6 +38,7 @@ public class GameLocal : MonoBehaviour
|
||||
private AuthInfo authInfo = new AuthInfo();
|
||||
|
||||
public Transform enemyPos;
|
||||
public Transform startDoorPos;
|
||||
|
||||
public Player self;
|
||||
[Header("版本号")]
|
||||
@@ -85,7 +86,7 @@ public class GameLocal : MonoBehaviour
|
||||
authInfo.gameId = 6;
|
||||
string authJson = JsonUtility.ToJson(authInfo);
|
||||
Debug.Log("发送数据 -> " + authJson);
|
||||
request.RawData = System.Text.Encoding.UTF8.GetBytes(authJson);
|
||||
request.RawData = System.Text.Encoding.UTF8.GetBytes(authJson);
|
||||
request.AddHeader("Content-Type", "application/json");
|
||||
request.Send();
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ public class GameManager : MonoBehaviour
|
||||
CreatePlayer();
|
||||
//PlaySound2DRPC("1.25");
|
||||
PlayBGM(0);
|
||||
CreateGameStartDoor(new Vector3(0,0,2));
|
||||
CreateGameStartDoor(GameLocal.Ins.startDoorPos.position);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user