Exemplo n.º 1
0
 private void StartGame()
 {
     startedGame = true;
     PhotonNetwork.LocalPlayer.NickName = user.username;
     player      = PhotonNetwork.Instantiate("Player", Vector3.zero, Quaternion.identity, 0);
     player.name = "Player";
     KnightClubAPI.GetItem(SetShirtFromAPI, user.username, "shirt");
 }
Exemplo n.º 2
0
 private static void SetShirtCompleted(string res)
 {
     KnightClubAPI.GetItem(inst.SetShirtFromAPI, user.username, "shirt");
 }