Field PlayerPrefab
The default player prefab
Namespace: Unity.Netcode
Assembly: solution.dll
Syntax
[Tooltip("When set, NetworkManager will automatically create and spawn the assigned player prefab. This can be overridden by adding it to the NetworkPrefabs list and selecting override.")]
public GameObject PlayerPrefab
Returns
Type | Description |
---|---|
GameObject |