remove debug code
parent
56bfeb44fb
commit
74f6180547
|
@ -78,8 +78,6 @@ namespace Coffee.UIExtensions
|
||||||
ReleaseMaterial(ref _maskMaterial);
|
ReleaseMaterial(ref _maskMaterial);
|
||||||
_maskMaterial = result;
|
_maskMaterial = result;
|
||||||
|
|
||||||
Debug.LogFormat("<color=orange>GetModifiedMaterial {0}</color>",this);
|
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
result.EnableKeyword("SOFTMASK_EDITOR");
|
result.EnableKeyword("SOFTMASK_EDITOR");
|
||||||
UpdateSceneViewMatrixForShader();
|
UpdateSceneViewMatrixForShader();
|
||||||
|
@ -151,7 +149,6 @@ namespace Coffee.UIExtensions
|
||||||
UnityEditor.SceneView sceneView = UnityEditor.SceneView.lastActiveSceneView;
|
UnityEditor.SceneView sceneView = UnityEditor.SceneView.lastActiveSceneView;
|
||||||
if (!sceneView || !sceneView.camera)
|
if (!sceneView || !sceneView.camera)
|
||||||
{
|
{
|
||||||
Debug.LogWarning("hoge!");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,7 +164,6 @@ namespace Coffee.UIExtensions
|
||||||
mat.SetMatrix("_SceneView", w2c);
|
mat.SetMatrix("_SceneView", w2c);
|
||||||
mat.SetMatrix("_SceneProj", prj);
|
mat.SetMatrix("_SceneProj", prj);
|
||||||
}
|
}
|
||||||
Debug.Log(sm + ", "+ mat, sm);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue