Class NetCodeClientAndServerSettings
The Unity.Entities.Build.IEntitiesPlayerSettings baking settings to use for server builds. You can assign the GUID to the BuildConfigurationGUID to instrument the asset import worker to bake the scene using this setting.
Inheritance
Implements
Inherited Members
Namespace: Unity.NetCode.Hybrid
Assembly: Unity.NetCode.Authoring.Hybrid.dll
Syntax
[FilePath("ProjectSettings/NetCodeClientAndServerSettings.asset", FilePathAttribute.Location.ProjectFolder)]
public class NetCodeClientAndServerSettings : ScriptableSingleton<NetCodeClientAndServerSettings>, IEntitiesPlayerSettings
Fields
CurrentImportanceSuggestions
Editor-only helper - allows you to configure the value-specific suggested ranges on the Importance tooltip.
Declaration
[SerializeField]
public List<EditorImportanceSuggestion> CurrentImportanceSuggestions
Field Value
Type | Description |
---|---|
List<EditorImportanceSuggestion> |
GlobalNetCodeConfig
The NetCodeConfig automatically added to the build, accessed via user-code via Global.
Declaration
[SerializeField]
public NetCodeConfig GlobalNetCodeConfig
Field Value
Type | Description |
---|---|
NetCodeConfig |
Properties
CustomDependency
The custom dependency key.
Declaration
public string CustomDependency { get; }
Property Value
Type | Description |
---|---|
string |
GUID
The unique ID of the settings asset.
Declaration
public Hash128 GUID { get; }
Property Value
Type | Description |
---|---|
Hash128 |
Methods
GetAdditionalScriptingDefines()
Gets the set of scripting defines applied while building the player.
Declaration
public string[] GetAdditionalScriptingDefines()
Returns
Type | Description |
---|---|
string[] | Returns the array of scripting defines. |
GetFilterSettings()
Gets the list of assemblies to be excluded during baking.
Declaration
public BakingSystemFilterSettings GetFilterSettings()
Returns
Type | Description |
---|---|
BakingSystemFilterSettings | Returns the serialized Unity.Entities.Build.BakingSystemFilterSettings. |
GetHash()
Gets the hash of the settings asset.
Declaration
public Hash128 GetHash()
Returns
Type | Description |
---|---|
Hash128 | Returns the hash as a Hash128 value. |