Class DotsPlayerSettingsProvider
Base class for creating an Entities player asset in the Assets folder.
Namespace: Unity.Entities.Build
Assembly: Unity.Entities.Build.dll
Syntax
public abstract class DotsPlayerSettingsProvider
Fields
Name | Description |
---|---|
m_SettingsOverride |
Properties
Name | Description |
---|---|
Importance | Importance of the asset compared with other potential assets of the same player type. |
Methods
Name | Description |
---|---|
DoGetSettingAsset() | Returns the settings object for this provider. |
DoReloadAsset() | Forcibly reload the setting asset from disk. Concrete class can implement their own restoring strategy. |
GetExtraBuildOptions() | Provides additional BuildOptions to the player build. |
GetExtraScriptingDefines() | Provides extra scripting defines to add into the player build. |
GetPlayerSettingGUID() | Returns the GUID of the asset. |
GetPlayerType() | Return the PlayerType of the asset (Client or Server). |
GetSettingAsset() | Returns the settings object for this provider. |
OnActivate(PlayerType, VisualElement) | Create the UI of the asset in the project settings window. |
ReloadAsset(IEntitiesPlayerSettings) | |
SetSettingAsset(IEntitiesPlayerSettings) | Override the settings object defined by this provider. |