Class NetCodeServerSettings
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
NetCodeServerSettings
Implements
IEntitiesPlayerSettings
Inherited Members
ScriptableSingleton<NetCodeServerSettings>.GetFilePath()
ScriptableSingleton<NetCodeServerSettings>.instance
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, InstantiateParameters)
Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)
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)
Namespace: Unity.NetCode.Hybrid
Assembly: Unity.NetCode.Authoring.Hybrid.dll
Syntax
[FilePath("ProjectSettings/NetCodeServerSettings.asset", FilePathAttribute.Location.ProjectFolder)]
public class NetCodeServerSettings : ScriptableSingleton<NetCodeServerSettings>, IEntitiesPlayerSettings
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. |
Implements
Unity.Entities.Build.IEntitiesPlayerSettings