From the course: Unity: AR Visualization 03 Complex Interactivity
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Working with world state - Unity Tutorial
From the course: Unity: AR Visualization 03 Complex Interactivity
Working with world state
- Alright now that we're sending the World State, we need to deal with it. If you're not there already let's open up the network manager. Fantastic. So under process message drawing I'm going to make a new message handler. And I'm going to call this process message World State. I'm going to grab that. I'm going to put that under the world state here. Just like before I'm going to send in the message. Alright. Now let's open this up. Now remember before up here we can see exactly the data that we're being sent and in what order. It's going to be a lot easier for us. So the first thing we're going to do is get the target user. String. Guitar. Got user. Is equal to the message. The get string. Remember it's the first data item in the message. Alright, and the second piece of data over here. Is the manifested adjacent. That's going to be a string. We're going to call this manifest…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Create sync UI, state, and methods5m 45s
-
(Locked)
Creating your network manager5m 48s
-
(Locked)
Connecting to PlayerIO7m 42s
-
(Locked)
Starting a multiplayer connection5m 27s
-
(Locked)
Testing your multiplayer connection5m 51s
-
(Locked)
Creating a message handler6m 30s
-
(Locked)
Processing the join message4m 41s
-
(Locked)
Working with world state3m 51s
-
(Locked)
Sending hide messages10m 34s
-
(Locked)
Making your parts relative7m 35s
-
(Locked)
Syncing movement4m 39s
-
(Locked)
Syncing the addition of notes5m 44s
-
(Locked)
Syncing the deletion of notes6m 39s
-
AR app in action2m 9s
-
(Locked)
-