@@ -80,12 +80,31 @@ void ReloadBaseTypes()
80
80
CleanBaseTypes ( ) ;
81
81
82
82
// Rebuild the base type map
83
+ /*
83
84
var types = RuntimeUtilities.GetAllAssemblyTypes()
84
85
.Where(
85
86
t => t.IsSubclassOf(typeof(PostProcessEffectSettings))
86
87
&& t.IsDefined(typeof(PostProcessAttribute), false)
87
88
&& !t.IsAbstract
88
89
);
90
+ */
91
+
92
+ // XXX(jameskim): 어셈블리를 도는데 시간이 너무 오래 걸려서 (600ms+) 하드코딩합니다.
93
+ // Debug.Log(types.Aggregate("", (str, t) => str + t + "\n"));
94
+ var types = new [ ]
95
+ {
96
+ typeof ( UnityEngine . Rendering . PostProcessing . AmbientOcclusion ) ,
97
+ typeof ( UnityEngine . Rendering . PostProcessing . AutoExposure ) ,
98
+ typeof ( UnityEngine . Rendering . PostProcessing . Bloom ) ,
99
+ typeof ( UnityEngine . Rendering . PostProcessing . ChromaticAberration ) ,
100
+ typeof ( UnityEngine . Rendering . PostProcessing . ColorGrading ) ,
101
+ typeof ( UnityEngine . Rendering . PostProcessing . DepthOfField ) ,
102
+ typeof ( UnityEngine . Rendering . PostProcessing . Grain ) ,
103
+ typeof ( UnityEngine . Rendering . PostProcessing . LensDistortion ) ,
104
+ typeof ( UnityEngine . Rendering . PostProcessing . MotionBlur ) ,
105
+ typeof ( UnityEngine . Rendering . PostProcessing . ScreenSpaceReflections ) ,
106
+ typeof ( UnityEngine . Rendering . PostProcessing . Vignette ) ,
107
+ } ;
89
108
90
109
foreach ( var type in types )
91
110
{
0 commit comments