Class NetworkPrefab
Class that represents a NetworkPrefab
Inherited Members
Namespace: Unity.Netcode
Assembly: solution.dll
Syntax
[Serializable]
public class NetworkPrefab
Fields
Name | Description |
---|---|
Override | The override settings for this NetworkPrefab |
Overriding |
The prefab to replace (override) the source prefab with |
Prefab | Asset reference of the network prefab |
Source |
Used when hash is selected for the source prefab to override value (i.e. a direct reference is not possible such as in a multi-project pattern) |
Source |
Used when prefab is selected for the source prefab to override value (i.e. direct reference, the prefab is within the same project) We keep a separate value as the user might want to have something different than the default Prefab for the SourcePrefabToOverride |
Properties
Name | Description |
---|---|
Source |
|
Target |
Methods
Name | Description |
---|---|
Equals(Network |
|
To |
Returns a string that represents the current object. |
Validate(int) |