Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 8bf9a3a

Browse files
committed
More stripping fixes
1 parent b2f81ab commit 8bf9a3a

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

PostProcessing/Runtime/PostProcessLayer.cs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,17 @@ public enum Antialiasing
115115
PostProcessResources m_Resources;
116116

117117
// UI states
118-
[SerializeField] bool m_ShowToolkit;
119-
[SerializeField] bool m_ShowCustomSorter;
118+
#if UNITY_2017_1_OR_NEWER
119+
[UnityEngine.Scripting.Preserve]
120+
#endif
121+
[SerializeField]
122+
bool m_ShowToolkit;
123+
124+
#if UNITY_2017_1_OR_NEWER
125+
[UnityEngine.Scripting.Preserve]
126+
#endif
127+
[SerializeField]
128+
bool m_ShowCustomSorter;
120129

121130
/// <summary>
122131
/// If <c>true</c>, it will stop applying post-processing effects just before color grading

0 commit comments

Comments
 (0)