Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuki committed Feb 3, 2022
1 parent c3e1379 commit cc0bc5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,9 @@ public class GamingHubClient : IGamingHubReceiver

IGamingHub client;

public async Task<GameObject> ConnectAsync(Channel grpcChannel, string roomName, string playerName)
public async Task<GameObject> ConnectAsync(ChannelBase grpcChannel, string roomName, string playerName)
{
var client = StreamingHubClient.Connect<IGamingHub, IGamingHubReceiver>(grpcChannel, this);
this.client = await StreamingHubClient.ConnectAsync<IGamingHub, IGamingHubReceiver>(grpcChannel, this);

var roomPlayers = await client.JoinAsync(roomName, playerName, Vector3.zero, Quaternion.identity);
foreach (var player in roomPlayers)
Expand Down

0 comments on commit cc0bc5b

Please sign in to comment.