From the course: Unity: AR Visualization 03 Complex Interactivity

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Creating your network manager

Creating your network manager - Unity Tutorial

From the course: Unity: AR Visualization 03 Complex Interactivity

Start my 1-month free trial

Creating your network manager

- [Instructor] Now that we got our UI done for our HUD it's time to make a network manager. Go over to the debug manager under scripts, click it and duplicate. We're going to call this network manager. (tapping keyboard) I'm going to copy that name and let's open it up in our code editor. Excellent. First thing I want to do is change my class name to network manager. Next I want to update our using statements. Not going to use these two. I am going to use a connection to PlayerIO. PlayerIOClient. I'm also going to need a reference to the collections. I'm at system.collections.generic. All right. With our usings out of the way, let's go and create some constants. (tapping keyboard) Constant I want to create here is the game ID, that's the ID that we saw in PlayerIO. You go back to your browser where you created your game. Let's go grab our game ID. Go back to your code editor and we're going to make a private…

Contents