Class SettingsBuildHelper<TSetting, TCollection>
Helper base class that add settings asset to preloaded assets list before building. The asset is removed from the list after build to ensure the list stay the same.
public abstract class SettingsBuildHelper<TSetting, TCollection> : ScriptableObjectBuildHelper<TSetting> where TSetting : Settings<TSetting, TCollection> where TCollection : SettingsBuildTargetCollection<TSetting, TCollection>
Type Parameters
| Name | Type | Description |
|---|---|---|
TSetting | The setting type. | |
TCollection | The collection type storeing the setting type. |
Inheritance
Inherited Members
- ScriptableObjectBuildHelper<TSetting>.callbackOrder
- ScriptableObjectBuildHelper<TSetting>.SettingsForBuildTargetGroup(BuildTargetGroup)
- ScriptableObjectBuildHelper<TSetting>.OnPreprocessBuild(BuildReport)
- ScriptableObjectBuildHelper<TSetting>.OnPostprocessBuild(BuildReport)
Methods
SettingsForBuildTargetGroup(BuildTargetGroup)
Helper functin to return current settings for a specific build target.
public override ScriptableObject SettingsForBuildTargetGroup(BuildTargetGroup buildTargetGroup)
Parameters
| Name | Type | Description |
|---|---|---|
buildTargetGroup | BuildTargetGroup | An enum specifying which platform group this build is for. |
Returns
ScriptableObject — A unity object representing the settings instance data for that build target, or null if not found.