diff options
author | chai <chaifix@163.com> | 2022-03-10 14:07:40 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-03-10 14:07:40 +0800 |
commit | 22891bf59032ba88262824255a706d652031384b (patch) | |
tree | 7595439ba9966c9402d37e37cee5e8cf098757d5 /Erika/Assets/Scripts/Data/StaticDefine.cs | |
parent | 8b04ea73e540067f83870b61d89db4868fea5e8a (diff) |
* move folder
Diffstat (limited to 'Erika/Assets/Scripts/Data/StaticDefine.cs')
-rw-r--r-- | Erika/Assets/Scripts/Data/StaticDefine.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Erika/Assets/Scripts/Data/StaticDefine.cs b/Erika/Assets/Scripts/Data/StaticDefine.cs new file mode 100644 index 00000000..dcfb19e1 --- /dev/null +++ b/Erika/Assets/Scripts/Data/StaticDefine.cs @@ -0,0 +1,31 @@ +using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public static class StaticDefine
+{
+ // unit image用到的材质
+ public static Dictionary<EImageEffectMaterails, string/*path*/> imageEffectMaterails = new Dictionary<EImageEffectMaterails, string>() {
+ { EImageEffectMaterails.MotionBlur, "Assets/Bundle/Materials/Unit/ImageEffect/unit_img_motion_blur.mat"},
+ { EImageEffectMaterails.Glitch, "Assets/Bundle/Materials/Unit/ImageEffect/unit_img_glitch.mat"},
+ };
+
+
+ public struct ShaderDefine
+ {
+ public ShaderDefine(string n, string p) { name = n; path = p; }
+ public string name;
+ public string path;
+ }
+ public static Dictionary<EShader, ShaderDefine> shaders = new Dictionary<EShader, ShaderDefine> {
+ { EShader.Blur, new ShaderDefine("Erika/Common/Image/Blur", "")},
+ { EShader.MotionBlur, new ShaderDefine("Erika/Common/Image/MotionBlur", "")},
+ { EShader.SolidColor, new ShaderDefine("Erika/Common/SolidColor", "") },
+ { EShader.UnitDepth, new ShaderDefine("Erika/Unit/Common/Depth", "") },
+ { EShader.Buzz, new ShaderDefine("Erika/Common/Image/Buzz", "") },
+ { EShader.GBuffer, new ShaderDefine("Erika/Common/GBuffer", "") },
+ };
+
+ public static string bundleManifest = "bundles"; // Assets/Resources/bundles.json
+
+}
|