Class NetcodeClientAndServerSettings
The IEntitiesPlayerSettings baking settings to use for server builds. You can assign the GUID to the Unity.Scenes.SceneSystemData.BuildConfigurationGUID to instrument the asset import worker to bake the scene using this setting.
Inheritance
NetcodeClientAndServerSettings
Implements
IEntitiesPlayerSettings
Inherited Members
ScriptableSingleton<NetcodeClientAndServerSettings>.GetFilePath()
ScriptableSingleton<NetcodeClientAndServerSettings>.instance
Object.MemberwiseClone()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
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 GhostAuthoringComponent.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
[FormerlySerializedAs("GlobalNetCodeConfig")]
[SerializeField]
public NetcodeConfig GlobalNetcodeConfig
Field Value
| Type | Description |
|---|---|
| NetcodeConfig |
Properties
CustomDependency
Declaration
public string CustomDependency { get; }
Property Value
| Type | Description |
|---|---|
| string |
GUID
Declaration
public Entities.Hash128 GUID { get; }
Property Value
| Type | Description |
|---|---|
| Hash128 |
Methods
GetAdditionalScriptingDefines()
Declaration
public string[] GetAdditionalScriptingDefines()
Returns
| Type | Description |
|---|---|
| string[] |
GetFilterSettings()
Declaration
public BakingSystemFilterSettings GetFilterSettings()
Returns
| Type | Description |
|---|---|
| BakingSystemFilterSettings |
GetHash()
Declaration
public Hash128 GetHash()
Returns
| Type | Description |
|---|---|
| Hash128 |
Implements
IEntitiesPlayerSettings