2 using UnityEngine
.Rendering
.PostProcessing
;
4 namespace UnityEditor
.Rendering
.PostProcessing
6 static class ResourceAssetFactory
9 [MenuItem("Tools/Post-processing/Create Resources Asset")]
11 static void CreateAsset()
13 var asset
= ScriptableObject
.CreateInstance
<PostProcessResources
>();
14 AssetDatabase
.CreateAsset(asset
, "Assets/PostProcessResources.asset");
15 AssetDatabase
.SaveAssets();
16 AssetDatabase
.Refresh();