fix compile error

pull/87/head
mob-sakai 2018-11-20 11:30:07 +09:00
parent 7c8981af2f
commit 56bfeb44fb
1 changed files with 2 additions and 1 deletions

View File

@ -193,8 +193,9 @@ namespace Coffee.UIExtensions
{
s_ActiveSoftMaskables = new List<SoftMaskable>();
#if UNITY_EDITOR
UnityEditor.EditorApplication.update += UpdateSceneViewMatrixForShader;
// Canvas.willRenderCanvases += UpdateSceneViewMatrixForShader;
#endif
s_SoftMaskTexId = Shader.PropertyToID("_SoftMaskTex");
s_StencilCompId = Shader.PropertyToID("_StencilComp");