PopulateNewSettingsInstance(ScriptableObject)
Allows the package to configure new settings passed in.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.AdaptivePerformance.Editor.Metadata
- Assembly: UnityEditor.AdaptivePerformanceModule
bool PopulateNewSettingsInstance(ScriptableObject obj)
Parameters
ScriptableObject instance that represents an instance of the settings type provided by IAdaptivePerformancePackageMetadata.settingsType.
Returns
Type | Description |
|---|---|
| bool | True if the operation succeeded, false if not. If implementation is empty, just return true. |