-
-
Save alexson/04a2363694e6ac041b0e3c9897719695 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 HostStart() | |
{ | |
//Start AR Session | |
//Connect AR Network | |
//Debug.Log("Host Connect to AR Network"); | |
_ARSessionManager.Initialize(); | |
_ARSessionManager.EnableFeatures(); | |
isHost = true; | |
ShowHideHostClientObjects(); | |
//Go to Page 1 – Code | |
PageChange(1); | |
} | |
... | |
public void ClientConnectToGame() | |
{ | |
//Start AR Session | |
//Connect AR Network | |
_ARSessionManager.Initialize(); | |
_ARSessionManager.EnableFeatures(); | |
//Hide timer before game start | |
gameTimer.timerBlock.SetActive(false); | |
//Go to Page 2 - Game Page | |
PageChange(2); | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment