tree sway and shadow improvements
[WindSway-HDRP.git] / Library / PackageCache / com.unity.postprocessing@2.1.2 / PostProcessing / Editor / Tools / ResourceAssetFactory.cs
blob0ea2470279fbc75292ea778520c4e925168c7f53
1 using UnityEngine;
2 using UnityEngine.Rendering.PostProcessing;
4 namespace UnityEditor.Rendering.PostProcessing
6 static class ResourceAssetFactory
8 #if POSTFX_DEBUG_MENUS
9 [MenuItem("Tools/Post-processing/Create Resources Asset")]
10 #endif
11 static void CreateAsset()
13 var asset = ScriptableObject.CreateInstance<PostProcessResources>();
14 AssetDatabase.CreateAsset(asset, "Assets/PostProcessResources.asset");
15 AssetDatabase.SaveAssets();
16 AssetDatabase.Refresh();