This repository was archived by the owner on Nov 30, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- using System ;
1
+ using System ;
2
2
using UnityEditor . Build ;
3
3
using UnityEngine ;
4
4
using UnityEngine . Rendering . PostProcessing ;
@@ -142,13 +142,14 @@ public void OnPreprocessBuild(Build.Reporting.BuildReport report)
142
142
{
143
143
PostProcessResourceStripper . Update ( report . summary . platform ) ;
144
144
}
145
+
145
146
#else
146
147
public void OnPreprocessBuild ( BuildTarget target , string path )
147
148
{
148
149
PostProcessResourceStripper . Update ( target ) ;
149
150
}
151
+
150
152
#endif
151
153
}
152
154
#endif
153
-
154
155
}
Original file line number Diff line number Diff line change 1
- using UnityEngine ;
1
+ using UnityEngine ;
2
2
using UnityEditor . Rendering . PostProcessing ;
3
3
4
4
namespace UnityEditor . Rendering . PostProcessing
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
3
3
4
-
5
4
namespace UnityEngine . Rendering . PostProcessing
6
5
{
7
6
// This asset is used to store references to shaders and other resources we might need at
@@ -37,9 +36,9 @@ public sealed class Shaders
37
36
public Shader multiScaleAO ;
38
37
public Shader screenSpaceReflections ;
39
38
40
- public Shaders Clone ( )
39
+ public Shaders Clone ( )
41
40
{
42
- return ( Shaders ) MemberwiseClone ( ) ;
41
+ return ( Shaders ) MemberwiseClone ( ) ;
43
42
}
44
43
}
45
44
@@ -58,9 +57,9 @@ public sealed class ComputeShaders
58
57
public ComputeShader multiScaleAOUpsample ;
59
58
public ComputeShader gaussianDownsample ;
60
59
61
- public ComputeShaders Clone ( )
60
+ public ComputeShaders Clone ( )
62
61
{
63
- return ( ComputeShaders ) MemberwiseClone ( ) ;
62
+ return ( ComputeShaders ) MemberwiseClone ( ) ;
64
63
}
65
64
}
66
65
@@ -70,7 +69,7 @@ public sealed class SMAALuts
70
69
public Texture2D area ;
71
70
public Texture2D search ;
72
71
}
73
-
72
+
74
73
public Texture2D [ ] blueNoise64 ;
75
74
public Texture2D [ ] blueNoise256 ;
76
75
public SMAALuts smaaLuts ;
@@ -86,7 +85,7 @@ void OnValidate()
86
85
if ( changeHandler != null )
87
86
changeHandler ( ) ;
88
87
}
88
+
89
89
#endif
90
90
}
91
-
92
91
}
You can’t perform that action at this time.
0 commit comments