Variables

Overview

Fusion module has built-in components to synchronize Local or Global Name Variabes and Lists.

They all require to exist in a scene with a Network Object in order to work.

These components, besides synchronizing their current state to remote players, will replicate the state to newly joined players.

Local Name Variables

To synchronize Local Name Variables simply attach a Local Name Variables Netwok component.

Global Name Variables

To synchronize Global Name Variables create a new game object, attach a Global Name Variables Netwok then select the Global Name Variables you need

Local List Variables

To synchronize Local List Variables simply attach a Local List Variables Netwok component and select Sync Mode to Sync Data

Global List Variables

To synchronize Global List Variables create a new game object, attach a Global List Variables Netwok then select the Global List Variables you need and select Sync Mode to Sync Data

List Sync Modes

List Network components has 4 different types of synchronization modes:

Sync Data

This mode will sync state of list data

Players List

This mode will populate the list with all players and update it as they join or leave.

Attachments

This mode is meant to be used to register attachment props through the network, once props are registered you can freely use Attach or Remove Prop instructions and it wil automatically replicate the attachments.

You can read more about this here.

Models

This mode is meant to be used to register models or skins through the network, once props are registered you can freely use Change Model instructions and it wil automatically replicate it.

You can read more about this here.

Last updated