Parameter | Description |
---|---|
objectToAdd | ScriptableObject instance to add. |
Adds a ScriptableObject to the build profile as a sub-asset. Only one instance per type can be embedded within a build profile.
Note: This function is restricted to ScriptableObject types and cannot be used for all settings visible in the Build Profiles window. To add built-in settings such as PlayerSettings, GraphicsSettings, and QualitySettings, use the Build Profiles window.