fix: Projection Matrix check always true when using world space canvas

pull/87/head
mob-sakai 2020-01-28 19:23:33 +09:00
parent 0f74fb8255
commit fcbaeec420
1 changed files with 1 additions and 4 deletions

View File

@ -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
}
/// <summary>