コード例 #1
0
 public bool CanCombine(UIWidget w)
 {
     if (NGUIDepthSetterTools.CanDoDrawCall(w))
     {
         if (NGUIDepthSetterTools.CanDrawCallCombine(material, mainTexture, shader, w))
         {
             return(true);
         }
     }
     return(false);
 }