Location Network States
A Location Network State manages multiple state transitions for a single synchronisation. For example, if you have multiple doors in a scene, you can use a separate Location Network State for each door to control whether it is open or closed.
A Location Network State is defined by the addition of an LVR_Location_NetworkState
script. The parameters that you can define in the script are described in the following table.
Parameter | Description |
---|---|
Network State Manager | Required Reference to the Network State Manager Game Object. For more information, see Network State Manager. |
State ID | Required A 5 to 10 digit ID for this state. You can choose any combination of numbers, but the State ID must be unique in this scene. |
Pretty Name | A name for the state. This appears in logs. |
Don't Record State | If you select this check box, transitions for this state are not included in recordings. |
Description | A description of this state. Maximum of 200 characters. |
Current State | Stores the current state. If you change the value of this property in the Unity Editor, you change the default start value. |
Last updated