예제 #1
0
 public bool IsUpdated(EditableEdge2D script)
 {
     if (!once)
     {
         return(true);
     }
     if (materialNum != script.materialNum)
     {
         return(true);
     }
     if (!additional.Equals(additional))
     {
         return(true);
     }
     if (width != script.width)
     {
         return(true);
     }
     return(false);
 }
예제 #2
0
 public void Update(EditableEdge2D script)
 {
     materialNum = script.materialNum;
     additional  = script.additional;
     width       = script.width;
 }