fix: Projection Matrix check always true when using world space canvas
parent
0f74fb8255
commit
fcbaeec420
|
@ -485,15 +485,12 @@ namespace Coffee.UIExtensions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if !UNITY_2018_1_OR_NEWER
|
|
||||||
s_previousViewProjectionMatrices.Clear ();
|
s_previousViewProjectionMatrices.Clear ();
|
||||||
foreach (int id in s_previousViewProjectionMatrices.Keys)
|
foreach (int id in s_nowViewProjectionMatrices.Keys)
|
||||||
{
|
{
|
||||||
s_previousViewProjectionMatrices [id] = s_nowViewProjectionMatrices [id];
|
s_previousViewProjectionMatrices [id] = s_nowViewProjectionMatrices [id];
|
||||||
}
|
}
|
||||||
s_nowViewProjectionMatrices.Clear ();
|
s_nowViewProjectionMatrices.Clear ();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue