Пример #1
0
 public bool CanCombine(SF_NodePreview a, SF_NodePreview b)
 {
     if (a.CompCount == b.CompCount)
     {
         return(true);
     }
     if (a.CompCount == 1 || b.CompCount == 1)
     {
         return(true);
     }
     return(false);
 }
Пример #2
0
 public void ReadData(Texture2D tex, SF_NodePreview uvTex = null)
 {
     Graphics.Blit(tex, texture);
 }