示例#1
0
 protected bool Equals(NetworkTransform other)
 {
     return
         (IsSRTMatrix == other.IsSRTMatrix &&
          ArrayEqual(SRTLocalPosition, other.SRTLocalPosition) &&
          ArrayEqual(SRTLocalRotation, other.SRTLocalRotation) &&
          ArrayEqual(SRTLocalScale, other.SRTLocalScale) &&
          ArrayEqual(CustomLocalMatrix, other.CustomLocalMatrix));
 }
 protected bool Equals(NetworkTransform other)
 {
     return
         IsSRTMatrix == other.IsSRTMatrix &&
         ArrayEqual(SRTLocalPosition, other.SRTLocalPosition) && 
         ArrayEqual(SRTLocalRotation, other.SRTLocalRotation) &&
         ArrayEqual(SRTLocalScale, other.SRTLocalScale) && 
         ArrayEqual(CustomLocalMatrix, other.CustomLocalMatrix);
 }