public bool CanCombine(UIWidget w) { if (NGUIDepthSetterTools.CanDoDrawCall(w)) { if (NGUIDepthSetterTools.CanDrawCallCombine(material, mainTexture, shader, w)) { return(true); } } return(false); }