diff --git a/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Scripts/SoftMask.cs b/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Scripts/SoftMask.cs index a65fbfa..af94d4f 100755 --- a/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Scripts/SoftMask.cs +++ b/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Scripts/SoftMask.cs @@ -485,15 +485,12 @@ namespace Coffee.UIExtensions } } - -#if !UNITY_2018_1_OR_NEWER s_previousViewProjectionMatrices.Clear (); - foreach (int id in s_previousViewProjectionMatrices.Keys) + foreach (int id in s_nowViewProjectionMatrices.Keys) { s_previousViewProjectionMatrices [id] = s_nowViewProjectionMatrices [id]; } s_nowViewProjectionMatrices.Clear (); -#endif } ///