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

Working with world state - Unity Tutorial

From the course: Unity: AR Visualization 03 Complex Interactivity

Start my 1-month free trial

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…

Contents