Class DotsGlobalSettings
Base class for accessing Dots project settings.
Namespace: Unity.Entities.Build
Assembly: Unity.Entities.Build.dll
Syntax
public class DotsGlobalSettings
Properties
| Name | Description |
|---|---|
| ClientProvider | The client player settings provider. |
| Instance | The DotsGlobalSettings instance. |
| ServerProvider | The server player settings provider. |
Methods
| Name | Description |
|---|---|
| GetClientGUID() | Gets the GUID of the Client asset. |
| GetClientSettingAsset() | Gets the Client Setting asset. |
| GetPlayerType() | Returns the DotsGlobalSettings.PlayerType Client or Server based on if a dedicated server platform is selected in the build settings or not. |
| GetServerGUID() | Gets the GUID of the Server asset. |
| GetServerSettingAsset() | Gets the Server Setting asset. |
| GetSettingsAsset(Hash128) | Gets the IEntitiesPlayerSettings settings asset corresponding to the guid. |