Version: Unity 6.3 Beta (6000.3)
Language : English
Programming with the Asset Database
Create presets to save and reuse settings

Reusing settings with preset assets

Presets are assets that you can use to save and apply identical property settings across multiple components, assets, or Project SettingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info
See in Glossary
windows. You can also use presets to specify default settings for new components and default import settings for assets in the Preset Manager. The Preset Manager supports any importers, components, or scriptable objects you add to the Unity Editor.

You can only apply Presets in the Editor. Presets have no effect at runtime. You can use scripting to support presets in your own MonoBehaviour, ScriptableObject or ScriptedImporter classes.

Topic Description
Create presets to save and reuse settings Save the property configuration of a component, asset, or Project Settings window as a preset asset and apply the same settings to a different component, asset, or Project Settings window.
Supporting presets for custom types Add preset support for your own custom C# types.
Apply default presets to assets by folder Apply default presets based on the location of an asset.

Additional resources

Programming with the Asset Database
Create presets to save and reuse settings
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961