fix #51; Unity 2019.1.1f1 compile failed

pull/87/head
mob-sakai 2019-05-07 16:33:40 +09:00
parent 3c36199b91
commit 2138a9bac2
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ namespace Coffee.UIExtensions
Matrix4x4 nowsVP = cam.projectionMatrix * cam.worldToCameraMatrix;
#if UNITY_2018_1_OR_NEWER
Matrix4x4 previousVP = cam.reviousViewProjectionMatrix;
Matrix4x4 previousVP = cam.previousViewProjectionMatrix;
#else
Matrix4x4 previousVP = default(Matrix4x4);
int id = cam.GetInstanceID ();