The BakingVersion
attribute allows Unity to compile the Authoring conversion code once by adding [BakingVersion("megacity-metro", 1)]
to the baking classes. The first parameter indicates the username, while the second parameter denotes the current version. If the Baker lacks this attribute, it will be compiled every time the domain reloads. Read more...
The PrefabType
defines the type of prefab to be assigned. By including [GhostComponent(PrefabType = GhostPrefabType.PredictedClient)]
, the component updates properties according to the assigned type. Read more...
The GhostField
enables server and client synchronization for a specific parameter. This attribute should be added to a component belonging to a Ghost Prefab.
Note: All ghosts must be prefabs instantiated by the server with the Ghost component attached. Read more...
The WorldSystemFilter
attribute is designed to specify the system's target world. The Netcode package creates an independent world for the server and client. This attribute filters which Client Target
executes the system. Read more...