-
-
Save alexson/d3296d8f629540316064a059a3c9cb36 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void HostStartGame() | |
{ | |
//Send Game Start to peer | |
//Hide msg | |
ir.hostStartGameButton.SetActive(false); | |
ir.hostStartGameMsg.SetActive(false); | |
//Send game state | |
messagingManager.BroadcastString((uint)MessageType.GameState, "Start", TransportType.ReliableUnordered); | |
//Game start | |
GameStart(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment